Logo
Regular expressions: Now you have two problems.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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
1 year ago 311.9K views 2 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.

Today's picks

Rubber Duck Debugging Poster Funny Film Noir Stly Canvas Painting HD Picture Print For Living Room Kitchen Home Bedroom Office Bathroom (18L x 12W“,WFramed)

Rubber Duck Debugging Poster Funny Film Noir Stly Canvas Painting HD Picture Print For Living Room Kitchen Home Bedroom Office Bathroom (18L x 12W“,WFramed)

Affiliate
$29.77
They're Getting Self-Conscious

They're Getting Self-Conscious

AI
574.7K views 1 year ago
Every Api

Every Api

Backend
29.3K views 1 year ago