I have a problem with styling a dropdown-menu in my website. When I open and close the menu and go away with mouse from the button, the button has bad style. I searched all over the internet, but did not find a solution.
Normal page look like this:
After double-click on button and go away with mouse page look like this:
I mean, this will repair some class in CSS, but I dont know which.
Thanks for answer and sorry for my English. I am not from an English speaking country.
Simply add this CSS so it won't become white anymore
.nav > li > a:focus{
background:transparent;
}
Make sure you put it after the Bootstrap CSS
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.