Home > Blockchain >  how can I use hover in css ? error in my code i dont understand
how can I use hover in css ? error in my code i dont understand

Time:08-07

enter image description here

why my hover doesnt work ? what should I do ?

CodePudding user response:

you should remove spaces. use this :

in line 34//

.nav-item:hover{ code }

CodePudding user response:

first define some style for .nav-item and then remove the space between class name and :

  • Related