Posted By

brm on 01/03/16


Tagged

link


Versions (?)

some CSS


 / Published in: CSS
 

Some css codes which modify the hyperlink

  1. /* change appearance when mouse hovers to it */
  2. a:hover {
  3. font-weight: bold;
  4. text-decoration: none;
  5. }
  6.  
  7. /* change appearance the moment it get click */
  8. a:active {
  9. font-size: 1.5em;
  10. }
  11.  
  12. /* change appearance after it been clicked */
  13. a:visited {
  14. color: red;
  15. }

Report this snippet  

You need to login to post a comment.