Treehouse: Grow your CSS skills. Land your dream job.

do you have to use all four (link, hover, active, visited)

  • # February 12, 2010 at 9:43 pm

    when using hover, do you also have to include active and visited so the list is complete.
    So the CSS will read

    # February 13, 2010 at 3:08 am

    No. You can have just a normal link style and a hover style if that’s what you want. You can use all, none, or any number in between.

    # February 13, 2010 at 11:35 am

    So all it will mean if you only use the normal link and hover styles, is just that active and visited will be the same as the normal link style.

    # February 13, 2010 at 2:19 pm

    Yes, all styles will be same as normal style unless they have their own styling

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.