Menu
HTTP 451: Unavailable for legal reasons (Fahrenheit 451).
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Visited links Memes
Posts tagged with Visited links
The Visited Link Color Debate
Javascript
Programming
Frontend
Webdev
11 months ago
246.1K views
0 shares
The eternal struggle between CSS and JavaScript in a nutshell! CSS knows with absolute certainty that links are purple after they've been visited (the :visited pseudo-class has traditionally defaulted to purple in browsers). Meanwhile, JavaScript is having an existential crisis thinking the link is blue, then questioning its own color perception abilities. Fun fact: JavaScript actually can't access the true styling of visited links for security reasons - browsers restrict this to prevent history sniffing attacks. So JS is literally colorblind when it comes to :visited links! Poor JavaScript, forever doomed to see unvisited styles only.
Today's picks
Either Experience Means Anything Or It Does Not
Programming
2.1M views
2 days ago
Funny Developer Gifts from Friends - 'Officially The World's Coolest Developer' Black Coffee Mug for Birthday, Unique Gifts for Men, Women, Coworkers, Family
Affiliate
$24.95
The reports of COBOL's death are greatly exaggerated
Programming
69.8K views
4 years ago