How to customize tag option borders to blue with a blue background on hover in Chrome [Unable to find solution elsewhere]

Struggling to eliminate the blue border and blue background on hover from a select tag option. Despite searching for solutions, none seem to work as desired. Some codes helped change the background, but not what I intended to achieve. Any guidance would be greatly appreciated. Thank you in advance. Explore the Sample Code Fiddle Here

CSS:
.form-control:disabled, .form-control[readonly]

{

    background-color: #ffffff !important;

}

select:required:invalid 

{

  color: #999999;
  box-shadow: none;
  -moz-appearance:none;
  -webkit-appearance: none;

}

option[value=""][disabled]

{

  display: none;

}

option 

{

  color: #404041;

}

select{

   -webkit-appearance: none;

}

.form-control:focus 

{

    box-shadow: none !important;
    border-color: #979797 !important;

}

select:focus,button:focus 

{

    outline: none !important;
}

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Unleash the power of crafting expressions with ng-bind

I'm working on some code snippets: <tr ng-repeat="ticket in allTickets | orderBy:sortType:sortReverse|filter:searchTicket track by $index"> <td>{{ticket.id}}</td> <td><a th:href="@{overview/{ ...

Steps to eliminate the selection indicator(dot) from ng-bootstrap radio buttons

Check out this example from ng bootstrap: https://i.sstatic.net/YYEIW.png I copied the code into my Angular project with only minor changes to the label and value, but got a different result: https://i.sstatic.net/lfShy.png Here is the HTML markup that w ...

Why is it not possible for me to place my image and text side by side?

I've been working on my personal portfolio website and ran into an issue when trying to position the image with text that says Ib student. I attempted using the bootstrap box model which didn't work, followed by using float, but that also didn&ap ...

Using AngularJS ng-repeat to loop through an object that consists of both nested objects and

I have a unique situation where I am working with an object that contains nested objects and arrays. Allow me to present the structure: var keywords = { "Animals" : { "Pets" : [ "Guppy", "Parrot", "Goldfish", "Dog", "Cat" ], ...

Using select2 scss from the node_modules folder

Looking for help with importing select2 scss from node_modules. I successfully installed the select2 by running the command: npm install select2 which created a select2 folder in the node_modules directory. Can anyone guide me on how to import the css f ...

Conceal the Form Upon Submission

I'm currently working on a project where I want to hide my form after the submit button is pressed using Jquery. Firstly, I have included the Jquery library in my code. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jque ...

View not updating in AngularJS component even after image loading

In my development project, I am utilizing AngularJS 1.7 components for various functionalities. One specific component of mine is responsible for uploading an image, converting it to base64 format, and then displaying it on the page. However, I am encount ...

Tips for revealing a position: absolute div that is currently hidden with display: none styling

Below is the code for a div element that I want to temporarily hide using JavaScript: <div id="mydiv" style="position: absolute; top: 60px; left:5px; right:25px; bottom:10px;"> </div> After hiding it with display:none in my ...

Displaying the mean of data stored within an array, presented in a tabular format

Currently, I am attempting to utilize JavaScript to display the average value within a table. Below is the code that I have implemented. Within my code, I have included a for loop to iterate through the array. However, I am encountering an issue where onl ...

What is a way to simulate division using only multiplication and whole numbers?

The issue at hand: The stack-building API that I'm currently using in rapidweaver has limitations when it comes to division or floats, making it challenging to perform certain mathematical operations. Insights into the API's rules: This partic ...

Retrieving images from GridFs and displaying them in an Angular application

I have been working on storing images from my angular app in MongoDB using GridFs. However, I am having trouble retrieving the images from the database to the app. I am using a custom objectId for the query. UPDATE After some changes, I managed to get t ...

Tips for accessing the post body within an express route

Currently, I am in the process of learning how to construct a web application through the utilization of express, node, and angular. As part of this journey, I have encountered a situation where I am capable of transmitting a post request from angular to t ...

Customizing CSS based on URL or parent-child relationship in WordPress

I'm having trouble finding a solution for what seems like a simple issue... Currently, my header has a border-bottom and I'd like to change the color of this border based on the section the user is in. For example, consider these parent pages: ...

Getting information from MongoDB using Node.js and Angular

Currently, I am facing difficulty in retrieving data from MongoDB (I'm also using Mongoose) and sending it to Angular in order to populate the ng-repeat list with the retrieved data. I have managed to either display the data on a blank page directly f ...

Looking for assistance with resizing and repositioning an image within a viewport?

The JSFiddle code can be found at this link - https://jsfiddle.net/pmi2018/smewua0k/211/ Javascript $('#rotate').click(function(e) { updateImage(90, 0) console.log("rotation"); }); $('#zoom-in').click(function() { updateImage(0 ...

Tips for pressing the enter key to submit when faced with two buttons

I am developing a form with two input fields and their respective submit buttons. I want users to be able to enter text into either field, hit the Enter key, and have it trigger the same action as clicking the submit button. Currently, pressing Enter after ...

angularsjs state provider with multiple parameters

I am struggling to create a state provider that can handle multiple parameters. Is it possible to capture them as an object or array, or do I have to capture them as a string and then separate them? For example, this is my current provider: .state(' ...

How can I apply angular ng-repeat filter with specific criteria in mind?

I am currently developing an angular application and I need to present customer data in a table using ng-repeat. While I have successfully added ng-filter for searching the results based on user input, I am now looking to incorporate checkboxes to further ...

Parent component in Material-ui theme distinguishing itself from child component of the same type

I'm working on customizing the styling of a Material UI Expansion Panel, specifically to apply my theme only to the main parent panel when it is expanded, and not to any nested panels within it. For instance: https://i.sstatic.net/nBhcN.png Here&ap ...

What is the proper way to utilize a filtered object based on its properties within an Angular controller?

Currently, I am working on developing a stacked graph along with its associated table. To retrieve the necessary JSON data, I am utilizing $http.get() and then assigning it to $scope.dataset. Here's a snippet of the HTML: <input ng-model="_search ...