CSS not modifying link properties

前端 未结 5 1458
离开以前
离开以前 2020-12-22 13:41

Whatever I try to do, I can\'t modify the color of my links ( want to create a color rollover effect). They always stay the same default blue color with the underline effec

5条回答
  •  悲&欢浪女
    2020-12-22 14:17

    You missed some close-braces } that I fixed them by editing your question. Another Issue in your code is that should create css for A in this order:

    a {}
    a:link {}
    a:visited {}
    a:hover {}
    a:focus {}
    a:active {}
    

    to take effect. just change your A styles ordering and it'll work correctly.

提交回复
热议问题