If you’re reading this, the chances are you’ve seen some of the amazing things that have been done in CSS3. Unfortunately, most of them aren’t practical for you, or your clients.
No longer, I say!
Below is a carefully-curated list of real-world examples and snippets of CSS3 that can be safely used to enhance any piece of work you create.
No longer, I say!
Below is a carefully-curated list of real-world examples and snippets of CSS3 that can be safely used to enhance any piece of work you create.
To use any of the following snippets,
you’ll need to include a CSS file.
Please, feel free to ask me for the CSS file.
Recreating the
This was, by far, the best tag in HTML. Unfortunately, it got dropped due to its lack of semantics. Well, it’s back.<blink>
tag
This is some blinking text.This is some <span class="blink">blinking</span> text.
-
Recreating the
You know when I said that<marquee>
tag<blink>
was the best tag? Well, I lied. Presenting: a valid CSS3 marquee.You spin me right round, baby. Like a record, baby. You spin me right round, baby. Like a record, baby.<div class="marquee" style="width: 380px;"><p><span>You spin me right round, baby.
Like a record, baby.</span><span>You spin me right round, baby. Like a record, baby.
</span></p></div>
-
Peekaboo!
Is your client not listening to any of your opinions, is throwing a tantrum when it comes to the invoice, or is generally acting like a toddler? They might be a toddler. If so, this will help.
I see you!<p class="peekaboo">I see you!</p>
-
Wibble-Wobble
Got a fidgety client, who makes lots of stinging remarks? They’ll bee happy when their page wobbles, then.
The 2nd man to walk on the moon was Buzz Aldrin.The 2nd man to walk on the moon was <span class="wobble">Buzz</span> Aldrin.
-
The Third Degree
It won’t take too much detective work to find this handy little snippet.
Something’s not quite level here.<span class="third-degree">Something’s not quite level here.</span>
-
WordArt
Finally, a standards-compliant way to unleash the best type in the world!WordArt
<h1 class="wordart" title="WordArt!">WordArt!</h1>
-
Nausea
Remember spinning on roundabouts as a kid? I hated ‘em. After seeing this, hopefully you will too!Woah-oah-oah!<span class="nausea">Woah-oah-oah!</span>
-
The Perfect Typography
Why bother choosing a font, when you know what you and your client wants?
It’s perfect!<p class="perfect">It's perfect!</p>