Improve Usability With CSS Pseudo-Selectors

“Checkmark” Your Visited Links with Pure CSS

Pseudo-selectors like :before and :after is perfect for adding content before or after classes, such as in the case of visited links or blockquotes. Here are some examples from the article:

blockquote:before {
content: “From the article: “;
}

This will literally put the text “From the article: ” before every single blockquote on your page.

Continue to the original article.

One Response to “Improve Usability With CSS Pseudo-Selectors”

  1. garchoune Says:

    thanks a lot :)

Leave a Reply