Comments on: :visited https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Fri, 05 Aug 2022 16:07:37 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Mehrab Farhadzadeh https://css-tricks.com/almanac/selectors/v/visited/#comment-1796629 Fri, 05 Aug 2022 16:07:37 +0000 http://css-tricks.com/?page_id=14283#comment-1796629 I read that the restrictions and limitations exist to prevent malicious websites from tracking our activities. But aren’t there tons of ways that malicious websites like Google.com could do to track our activities? If yes, why do these styling restrictions still exist?

]]>
By: max https://css-tricks.com/almanac/selectors/v/visited/#comment-1770411 Fri, 02 Apr 2021 14:12:39 +0000 http://css-tricks.com/?page_id=14283#comment-1770411 dude. thank you so much for this
“You can only use :visited to change those properties if the link already has them in the “unvisited” or :link state. You can’t use it to add properties that aren’t already present on the link. For example:”

It was driving me insane why I could set a:link border to images but not a:visited.
Giving a style for both states in Stylus makes the a:visited finally change color.

much love from austria

]]>
By: Martin Eyre https://css-tricks.com/almanac/selectors/v/visited/#comment-1693601 Thu, 18 Apr 2019 11:47:40 +0000 http://css-tricks.com/?page_id=14283#comment-1693601 Thank you soooooo much!!!!! I’m a learning newbie and I’ve spent the best part of a morning trying to work out why my “visited” links would not change for certain properties. Believe it or not, yours is the only site I have found the information regarding “visited” limitations, even W3Schools did not have this. And for that I thank you muchly. Headache over, I’m not a complete coding doughnut. Although I have spent a few hours today altering properties and values and code, worrying that I had a capital letter somewhere it shouldn’t be. Ah well, we live and learn.
Many thanks and kind regards
Martin Eyre

]]>
By: Marsel https://css-tricks.com/almanac/selectors/v/visited/#comment-1662252 Tue, 05 Feb 2019 17:38:43 +0000 http://css-tricks.com/?page_id=14283#comment-1662252 It should be noted that :visited will not work in incognito mood because incognito disables remembering a link was visited

]]>
By: Beverleyh https://css-tricks.com/almanac/selectors/v/visited/#comment-1605184 Thu, 24 Nov 2016 06:44:38 +0000 http://css-tricks.com/?page_id=14283#comment-1605184 Another one for the Extending :visited list.

This was inspired by Joel’s Califa’s script and also uses localstorage to save visited pages. It reverses the concept by highlighting new/unread content (instead of read). The “New” flag can be limited to “content added in the last X days” or all time, until the visitor views it http://blog.fofwebdesign.co.uk/17-show-new-content-until-visited-link-tracking

]]>
By: sda https://css-tricks.com/almanac/selectors/v/visited/#comment-1595700 Tue, 07 Jul 2015 21:19:40 +0000 http://css-tricks.com/?page_id=14283#comment-1595700 asd

]]>