Logo
The best thing about a boolean is even if you're wrong, you're only off by a bit.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp 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

Pseudo-classes Memes

Posts tagged with Pseudo-classes

The Visited Link Color Debate

Javascript Programming Frontend Webdev
10 months ago 216.9K views 0 shares
The Visited Link Color Debate
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.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Eat Sleep Code Repeat Mug 11oz Ceramic Coffee M...

Eat Sleep Code Repeat Mug 11oz Ceramic Coffee M...
Ad Each purchase brings us closer to figuring out why that one unit test fails randomly. 🎲