Let’s have some fun with CSS selectors, properties, and values. All the rule sets shown here contain valid CSS that represent things in real life. This has also been later referred to as “CSS puns”, which is not really a correct way to describe it, but for the record I was the first one to come up with this.
A few sensitive subjects represented here, but they’re not meant to cause offence. Just some CSS silliness. Enjoy.
.titanic { float: none; } .worldPeace .countries { border: transparent; } .cheapBicycleHelmet { padding: 0; } .oneGallonJar .twoGallonsOfWater { overflow: visible; } .weightWatchersClient { width: 100%; } .formerWeightWatchersClient { transform: scale(.8); } .badActor:first-line { visibility: hidden; } .JohnLennon { widows: 1; } .KurtCobain, .CourtneyLove { orphans: 1; } .atheist .president { position: absolute; } .religious .president { position: relative; } .wateredPlant { height: auto; } .CIA .agent { background: transparent; } .sniper { cursor: crosshair; } a.burglar:visited { behavior: url(stole-your-stuff.htc); } .Enron .profit { margin: -9999px; } .natural::selection { visibility: hidden; }
Unfortunately doesn’t work :P.
ha..ha LOL.. like it!
how can you make it??
that was very creative and hilarious!
Brilliant!
Love it! So hilarious!!
Conversely
ha ha very nice
So funny. Though I reckon it should be #titanic
How about THIS:
or
I love it! What a way to brighten up my dreary Monday morning. Thanks.
JAJAJA GENIAL !
Most of them beautiful. Especially CIA :-)
very funny, I like most of them. List can be huge, I guess
This is brilliant! :D
and
what about:
? :D
more like:
;]
¬¬
Lmao~!! Good one!
Hahaha.. Amazing! :)
Nice way to put stuff. :D
Funny stuff. Loved it
I posted something related to this funny topic: Reallife CSS (Images) http://www.shiftedwork.de/blog/2010/09/24/reallife-css/
Here is another one:
Thank you! It’s funny
Here are a couple:
OK so this one’s not supported in any browsers but here it is anyway:
This is great! There really isn’t enough comedy code in the world.
Not sure what to do with the 2 Independents.
Just thought of another one.
okay, back to work!
Independents = padding (or possibly margin)
this one is my favorite.
This is an awesome list. Here’s another
Sooo crative!
Thanks
LOL :D
It’s so funny. :D
Very cool!! ;)
LOL
How about this?