html - My CSS Hover and Active styling is not working -


here navigation bar follows:

   <ul>     <li><a href="index.html">home</a></li>     <li><a href="portfolio.html">portfolio</a></li>     <li><a href="resources.html">resources</a></li>     <li><a href="testimonials.html">testimonials</a></li>     <li><a href="about.html">about</a></li>       <li><a href="contact.html">contact</a></li>      </ul>   </nav> 

and css:

a: hover {  color: brown;  }  a: active {  color: #1490a5; } 

im trying have active link in 1 colour , when hover on colour, not working unfortunately

remove space between 2 dots , pseudo class

a:hover {     color: brown;  }  a:active {     color: #1490a5; } 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -