• Skip to content
  • Skip to footer
A Bright Clear Web

A Bright Clear Web

A Bright Clear Web - Simple, effective, accessible websites

  • Home
  • About
  • Websites
  • Writing
  • Learn
  • Blog
  • Contact
You are here: Home / Websites / CSS Puns – My Collection

CSS Puns – My Collection

Posted: February 18, 2015 Updated: January 4, 2018 by Claire Brotherton
4 Comments

submerged shopping trolley

This is Day 16 in the 30 Day Blogging Challenge. You can read Day 15’s post here.

This post is inspired by Saijo George’s site, CSS Puns, a jokey collection of CSS rules that may bear some resemblance to real life.

Check out the original post above and my versions below.

Driver driving on the left

#driver .uk {
float: left;
}
#driver .usa {
float: right;
}
#wookiee {
color: brown;
height: 120%;
voice-volume: x-loud;
}
#yoda {
color: green;
height: 25%;
}

newspaper side view

#newspaper .guardian .uk {
text-align: left;
}
#newspaper .telegraph .uk {
text-align: right;
}
#pamela-anderson {
padding-top: 30%;
}
#kim-kardashian {
padding-bottom: 20%;
}
.kd-lang {
text-transform: lowercase;
}

Acropolis, Greece

.acropolis .parthenon {
column-count: 46;
}
#alice .wonderland .eat-me {
height: 200%;
}
#alice .wonderland .drink-me {
height: 10%;
}

With a little help from Hex Words:

.toilet {
background: #FAECE5;
}

Tall dark haired man

footer .scotland.new-year:first-of-type {
height: 110%;
color: black;
}
#scotland .independence-referendum { 
border: dashed; 
}
.beach {
background: seashell;
}

bar interior

#alcoholic {
tab-size: 500;
}
.moon .day {
visibility: hidden;
}
.moon .night {
visibility: visible;
}
#50-shades {
color: gray;
}
#50-shades .handcuffs {
position: fixed;
}

Lipstick on shirt collar

#liar {
word-break: break-all;
}
.cartoon .hanna-barbera {
background-repeat: repeat-x;
}
.cartoon-character .mrs-incredible {
align-self: stretch;
}
#lord-lucan {
visibility: hidden;
}
.jennifer-lawrence {
visibility: visible;
}
submerged shopping trolley
Submerged Trolley, (c) 2009 Chris Gilson. Licensed under a Creative Commons Attribution-ShareAlike 2.0 Generic License.
#shopping-trolley .canal {
float: none;
}

Related

Category: Websites Tags: 30 day blogging challenge, CSS, fun

About Claire Brotherton

Freelance web designer and front end developer based in Edinburgh, Scotland. I love WordPress, code, learning and blogging.

Reader Interactions

Comments

  1. Nicole says

    February 20, 2015 at 12:47 am

    Some of these are really funny Claire – I must admit though some are a little bit above my non-css head 🙂 Looks like you had a bit of fun though!

    Reply
    • Claire Brotherton says

      February 24, 2015 at 8:55 pm

      Thanks Nicole – they were fun to do. The tricky part was thinking of amusing things that fit with the syntax of the CSS language.

      Reply
  2. Louise Swift says

    February 20, 2015 at 6:48 pm

    Hahaha, I loved these! Genius 😀

    (Hello from a random new commenter, by the way — I think I found your blog through Nicole’s!)

    Reply
  3. Claire Brotherton says

    February 24, 2015 at 9:12 pm

    Hi Louise, thanks for stopping by and leaving a comment.

    I repaid the favour on one of your posts. 🙂

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email. Read my privacy policy.

potted cactus and laptop with code

Footer

Categories

  • Accessibility
  • Blogging & Content Marketing
  • Business
  • Personal
  • Software & Tech
  • Websites
  • WordPress

Top Posts

  • How To Create WordPress Excerpts And Include Links In Them
  • How To Solve WordPress Image Alignment And Text-Wrap Problems
  • Improve Your Divi Website's Reach With Divi Accessibility
  • How To Set Up And Customize Twenty Nineteen Theme
  • Registering a Domain Name with GoDaddy - Step by Step

Let’s Be Social

  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
Copyright © 2014 -2025 A Bright Clear Web
  • Privacy and cookies policy
  • Site map