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.
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!
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:
;]
¬¬
.ninja {
color: rgba(0, 0, 0, 0);
}
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)
.Pisa{
font-style: italic;
}
this one is my favorite.
This is an awesome list. Here’s another
Sooo crative!
Thanks
.spam {
display: none;
}
#Helvetica_diet:before{font-weight:900;}
#Helvetica_diet:after{font-weight:300:}
.women .fat {
display: none;
}
LOL :D
.JohnLennon { widows: 1; } .KurtCobain, .CourtneyLove { orphans: 1; } .atheist .president { position: absolute; } .religious .president { position: relative; }It’s so funny. :D
Very cool!! ;)
.natural::selection { color:#fff; }LOL
How about this?