Menu Search
Jump to the content X X
Smashing Conf San Francisco

We use ad-blockers as well, you know. We gotta keep those servers running though. Did you know that we publish useful books and run friendly conferences — crafted for pros like yourself? E.g. upcoming SmashingConf San Francisco, dedicated to smart front-end techniques and design patterns.

Powerful New CSS Techniques and Tools

The hard work of front-end designers never ceases to amaze us. Over the last months, we’ve seen Web designers creating and presenting a plethora of truly remarkable CSS techniques and tools. We have collected, analyzed, curated and feature latest useful resources for your convenience, so you can use them right away or save them for future reference.

Please don’t hesitate to comment on this post and let us know how exactly you are using them in your workflow. However, please avoid link dropping, but share your insights and your experience instead. Also, notice that some techniques are not only CSS-based, but use HTML5, JavaScript, or JavaScript-libraries as well. Thanks to all featured designers and developers for inspiring, hard work.

CSS Techniques Link

Rotational Sliders1
Eric Meyer shares six of his animated transforms that are capable of sliding around to a particular extent with non-centered transform origins.

Rotational Sliders2

Generating Organic Randomness with Prime Numbers and CSS3
At first, you may be wondering why the heck is Alex Walker talking about cicada’s and Web design. Once taking a closer look, a sort of connection between the two evolves and a ‘cicada principle’ is born.

The Cicada Principle and Why It Matters to Web Designers4

CSS3 3D Hologram5
Being inspired by holographic effects that can be achieved with HTML/CSS, Hakim El Hattab has developed his own 3D box which alters perspective depending on device orientation. Note that this requires a webkit browser and has only been tested on iPhone. Also make sure to visit more of Hakim’s CSS/HTML5 experiments6.

Hakim / CSS3 3D Hologram7

Checkerboard, striped & other background patterns with CSS3 gradients8
You’re probably familiar with CSS3 gradients by now, including the closer to the standard Mozilla syntax and the verbose Webkit one. I assume you know how to add multiple color stops, make your gradients angled or create radial gradients. What you might not be aware of, is that CSS3 gradients can be used to create many kinds of commonly needed patterns, including checkered patterns, stripes and more. Also, check out Lea’s CSS3 Patterns Gallery</a.

Checkerboard, striped & other background patterns with CSS3 gradients9

CSS3 Keyboard10
Click in the box and start typing on your computer’s keyboard. Cleverly developed by Dustin Cartwright and Dustin Hoffman. You’ve got to respect the amount of time and effort which went into producing this demo.


CSS3 Progress Bars12
A couple of nice progress bars created by Chris Coyier that use no images — just CSS3 fancies. In browsers that do not support CSS3, these progress bars will look more simplified.

CSS3 Progress Bars | CSS-Tricks13

Hover on “Everything But”14
A tutorial by Chris Coyier which shows us how easy adding a hover state to an element can be. In this case, the hover state is applied to everything but the element actually being hovered over.

Hover on “Everything But”15

Creating a Sphere With 3D CSS16
With CSS3’s 3D trans­forms it’s possible to cre­ate a sphere-like object, albeit with many elements. Paul Hayes shares his version of a 3D CSS sphere (works in the latest Safari and iOS) and provides us with the coding needed.

Creating a sphere with 3D CSS17

CSS3 Planetarium18
This demo highlights leading edge CSS3 and HTML5 features that Mozilla Firefox and the open web community push into modern Web browsers.

Firefox 4 Demos: Awesome CSS3 Planetarium19

Natural Object-Rotation with CSS3 3D20
A tutorial by Dirk Weber that teaches us how to build a 3D packshot in HTML and CSS by applying some CSS 3D-transforms. By adding some Javascript, we can make the object freely rotatable in 3D space. And as we will enhance our Javascript with some touch-interactivity, the packshot will also work nicely in Safari for iOS-platforms like iPhone or iPad.

Natural Object-Rotation with CSS3 3D21

CSS Drop-Shadows Without Images22
Nicolas Gallagher shares presents his CSS drop-shadows without any images.

CSS drop-shadows without images23

Incrementable Length Values in Text Fields24
Lea Verou explains how to implement a feature that allows you to increment or decrement a <length> value by pressing the up and down keyboard arrows when the caret is over it.

Incrementable length values in text fields25

Beveled Corners & Negative Border-Radius with CSS3 Gradients26
Beveled corners and simulate negative border radius without images, by utilizing CSS3 gradients once again — Lea Verou is amazed by how many CSS problems can be solved with gradients alone. Works on Firefox 3.6+, latest Webkit Nightly builds, Chrome and Opera 11.10.

Beveled corners & negative border-radius with CSS3 gradients27

Flexible Height Vertical Centering With CSS, Beyond IE728
Roger Johansson shares his thoughts on how to improve centering an element both horizontally and vertically with the display:table alternative.

Flexible height vertical centering with CSS, beyond IE729

Coding up a semantic, lean timeline30
This article tells you how to create a semantic lean timeline.

Coding up a semantic, lean timeline31

CSS Border Tricks with Collapsed Boxes32
These border tricks tricks will help you to display content outside of the content box, over borders, without the use of images, CSS3 gradients or extraneous markup.

CSS Border Tricks with Collapsed Boxes33

Quick Tip: Nonintrusive CSS Text Gradients34
Jeffrey Way shows some ways for creating pure CSS text-gradients with a bit of trickery. The key is to use a mix of attribute selectors, webkit-specific properties, and custom HTML attributes.

Quick Tip: Nonintrusive CSS Text Gradients35

Bokeh with CSS3 Gradients36
Divya Manian uses the CSS gradients and shows the results of his work on a project which uses a bunch of circles as a decorative background.

Bokeh with CSS3 Gradients37

Different Transitions for Hover On / Hover Off38
Chris Coyier tries to acchieve “different transitions on mouseenter and mouseleave”, but he isn’t using JavaScript here; we’re talking about CSS :hover state and CSS3 transitions. Hover on, some CSS property animates itself to a new value; hover off, a different CSS property animates.

Different Transitions for Hover On / Hover Off39

Styling children based on their number, with CSS340
Lea Verou shows how to style children of elements based on their total number (that is, their total count).

Styling children based on their number, with CSS341

CSS Modal42
Using CSS3 tech­niques a modal box can be cre­ated with­out JavaScript or images. With a bit of ani­ma­tion, tran­si­tion and trans­form, it can be made that lit­tle bit more special. The problem: when you hit the “Back”-button after the modal has popped up and was closed, you’ll see the modal again. But maybe you’ll come with a way to fix it?

CSS Modal43

Rotating Feature Boxes44
The full effect of it (with transition animations) will work in newish WebKit and Opera browsers and Firefox 4 (in real beta as of today). Any other browser will rotate the blocks without transition animation.

Rotating Feature Boxes45

When and How to Visually Hide Content46
Visually hiding content on a web page, usually textual content, is at times a viable technique in web design and development. It can be done for several reasons, most importantly, to improve the experience of a screen reader user. Other reasons include improving readability when CSS cannot be rendered, and improving search engine optimization (SEO). Other exaples about using the Visually Hide Content are shown in this article.

When and How to Visually Hide Content47

How to avoid common CSS3 mistakes48
The new features of CSS3 bring with them complexity and new things for us to screw up. This article will help keep us in check as we start using these new features.

How to avoid common CSS3 mistakes | Feature | .net magazine49

Introduction to CSS Escape Sequences50
Escape sequences are useful because they allow style sheet authors to represent characters that would normally be ignored or interpreted differently by traditional CSS parsing rules. In this article Mert Tol shows how to use these sequences.

Introduction to CSS Escape Sequences | Mert TOL51

Wrapping Long URLs and Text Content with CSS52
To wrap long URLs, strings of text, and other content, you can just apply a carefully crafted chunk of CSS code to any block-level element .


CSS Generated Content
Trevor Davis shows on some examples what you can do with the CSS generated content.

My New Best Friend: CSS Generated Content | Viget Inspire

Controlling width with CSS3 box-sizing54
An incredibly useful CSS3 feature when you’re creating columns with floats is box-sizing. It lets you choose which box sizing model to use – whether or not an element’s width and height include padding and border or not. It makes it much easier to define flexible widths where you also need padding and/or borders. A typical example is laying out forms, which can be a real pain when you want flexible widths.

Controlling width with CSS3 box-sizing55

Revisit Hardboiled CSS3 Media Queries
Shi Chuan takes a close look at boilerplates and helps us understand the math we need to tweak the width required for a good resolution to any particular device.

iPad Orientation CSS56
Keith Chu revises Cloud Four’s work and finds a way to alleviate extra HTTP requests, not iPad-specific as well as lack of reusability. In this post, he shares with us his proposed revision to the iPad orientation CSS.

CSS Value Lengths, Times, Frequencies and Angles57
In this article the authors go over all the math type units that can be applied as property values in CSS.

CSS Tools Link

320 and up58
‘320 and Up’ prevents mobile devices from downloading desktop assets by using a tiny screen’s stylesheet as its starting point. Try this page at different window sizes and on different devices to see it in action.

320 and up59

CSS3 Generator – By Eric Hoffman and Peter Funk60
This generator was proudly designed by Eric Hoffman and coded by Peter Funk.

CSS3 Generator - By Eric Hoffman and Peter Funk61

CSS Pattern Generator62
Patternify is a simple pattern generator that enables you to not only build your patterns online, but export them with the base64 code, so you don’t even need an image file anymore. Just include the code in your CSS and you’re ready to go. Created by Sacha Greif.

CSS Pattern Generator63 – Web page alignment made easy64
A clean and simple way to help align your layouts. No complex grid frameworks necessary.Just put your dimensions after our URL to get a background guide image to work with in your browser. Grids are created on the fly, so any combination should work. - Web page alignment made easy65

The 1140px Grid: Fluid down to mobile
The 1140 grid fits perfectly into a 1280 monitor. On smaller monitors it becomes fluid and adapts to the width of the browser.

The 1140px Grid: Fluid down to mobile

Fighting the @font-face FOUT66
Paul Irish’s 2011 update for the @font-face FOUT issue. Good news: Firefox 4 has no FOUT, IE9 does, and FOUT-b-GONE67 will help you out with that.


CSS3 Github Buttons69
CSS3 Buttons is a simple framework for creating good-looking GitHub style button links.

CSS3 Buttons | Simple CSS3 framework for creating GitHub style button links70

CSS3 Facebook Buttons71
CSS3 Facebook Buttons

CSS3 Facebook Buttons72

On the Internets, speed is everything – which means that when it comes to CSS & Javascript files, size DOES matter. By automatically minimizing and combining your files for you, Minimee takes the heavy lifting out of keeping your files svelte.

Adapt.js - Adaptive CSS74

one script closer to designing in the browser.

Adapt.js - Adaptive CSS76

Bootstrap is a pack of mixins and variables to be used in conjunction with LESS, a CSS preprocessor for faster and easier web development.

Adapt.js - Adaptive CSS78

Animatable: Create CSS3 animations and advertising for Webkit browsers79
Animatable is the easy way to create CSS3 animations and advertising for Webkit browsers on any platform or device — including Android, BlackBerry, iOS and WebOS.

Animatable | Create CSS3 animations and advertising for Webkit browsers80

Ceaser: CSS Easing Animation Tool81
Ceaser is an CSS Easing Animation Tool.

Ceaser - CSS Easing Animation Tool82

This is provided without warranty, guarantee, or much in the way of explanation.


CSS Pivot83
This tool allows you to add CSS styles to any website, and share (and adjust) the result with a short link.

CSS Pivot84

Roots WordPress Theme85
Roots is a starting WordPress theme made for developers that’s based on HTML5 Boilerplate, Blueprint CSS (or and Starkers that will help you rapidly create brochure sites and blogs.

Roots WordPress Theme86

Free Online CSS3 Typeset Style Generator87
An advanced generator of CSS buttons; the tools allows you to define font and color variations, shadows, borders, corners etc.

Free Online CSS3 Typeset Style Generator88

You hate writing vendor prefixes for all browsers? The CSSPrefixer does it for you.


This tool will give your Web typography a head start. Type-a-file is essentially a small collection of CSS stylesheets with heavy focus on rich and beautiful typography. The tool uses Typekit to preview the stylesheets, so if you have a Typekit-account, you could purchase the font license and have exact the same typography on your website.


A Best Practice Baseline for Your Mobile Web App91
Mobile Boilerplate is your trusted template made custom for creating rich and performant mobile web apps. You get cross-browser consistency among A-grade smartphones, and fallback support for legacy Blackberry, Symbian, and IE Mobile.


Code Beautifier93
This tool allows you to format, clean up and optimize your stylesheets.

Adapt.js - Adaptive CSS94

Markup Generator95
Markup Generator is a simple tool created for HTML/CSS coders that are tired of writing boring frame code at the very beginning of slicing work.

Adapt.js - Adaptive CSS96

CSS Sprite Generator97
This tool allows you to create and maintain your CSS sprites.

Adapt.js - Adaptive CSS98

A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)

Adapt.js – Adaptive CSS100
Adapt.js simply checks the browser width, and serves only the CSS that is needed, when it is needed.

Firmin, a JavaScript animation library using CSS transforms and transitions101
Firmin is a JavaScript animation library that uses CSS transforms and transitions to create smooth, hardware-accelerated animations.

Command-line CSS spriting102
The author shows, how to create CSS sprites from the command line alone.

Last Click Link

Code Standards
This document contains normative guidelines for web applications built by the Interface Development practice of Isobar North America (previously Molecular). It is to be readily available to anyone who wishes to check the iterative progress of our best practices.

Code Standards

How to Manage CSS Explosion103
A very useful thread on StackOverflow on how to keep CSS files organized and clean.

How to Manage CSS Explosion104

(vf) (ik)

Footnotes Link

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
  46. 46
  47. 47
  48. 48
  49. 49
  50. 50
  51. 51
  52. 52
  53. 53
  54. 54
  55. 55
  56. 56
  57. 57
  58. 58
  59. 59
  60. 60
  61. 61
  62. 62
  63. 63
  64. 64
  65. 65
  66. 66
  67. 67
  68. 68
  69. 69
  70. 70
  71. 71
  72. 72
  73. 73
  74. 74
  75. 75
  76. 76
  77. 77
  78. 78
  79. 79
  80. 80
  81. 81
  82. 82
  83. 83
  84. 84
  85. 85
  86. 86
  87. 87
  88. 88
  89. 89
  90. 90
  91. 91
  92. 92
  93. 93
  94. 94
  95. 95
  96. 96
  97. 97
  98. 98
  99. 99
  100. 100
  101. 101
  102. 102
  103. 103
  104. 104

↑ Back to top Tweet itShare on Facebook


Vitaly Friedman loves beautiful content and doesn’t like to give in easily. Vitaly is writer, speaker, author and editor-in-chief of Smashing Magazine. He runs responsive Web design workshops, online workshops and loves solving complex UX, front-end and performance problems in large companies. Get in touch.

  1. 1

    Ingenious solutions to problems that don’t exist.

    • 2

      Web Programming 360

      April 18, 2011 12:25 pm

      Someone either did not read the article :( or doesn’t know anything about CSS.

    • 3

      How do you know problems don’t exist? Are you the head of every single project ever projected?

      Also innovation and ideas don’t need problems to surface. That mentality is for unseasoned developers who believe “what ain’t broken needn’t fixing”, unfortunatly this is a constantly evolving environment and yes, it needs to accompany the times.

      Great comment. Million dollar value.

  2. 4

    Vladimir Carrer

    April 18, 2011 7:08 am

    Really nice collection of new CSS Tools. I recently created Child Selector System – CSS Framework that can be potentially added to this list.

  3. 5

    WOW that’s a LOT of info!

    Good stuff, just a bit overwhelming. Might be best if you don’t post any more articles this month. ;)

  4. 6

    Good overview but indeed way too long. I allways find such long overviews and lists to beat their purpose. They even induce stress. You don’t want to read it to the end yet you are afraid to miss something, so it puts on a reading burden. Why not the 10 best new techniques and call it a day? That makes things manageable. People can read it and dive deeper into individual entries, perhaps even try some things. Now few will, because there are a hundred to go through.

    You’re supposed to make the task of informing ourselves easier, not harder.

    • 7

      Vitaly Friedman

      April 18, 2011 9:00 am

      Ferdy, CSS round-ups like this one are published once every 4 months or so. We think it’s better to publish a “state of the art” piece every now and again rather than publishing 10 best new techniques every week. So you could bookmark it and get back to the page in a couple of days when you have more time.

      I do see your point, however. Let me see what I can do to keep these round-ups shorter next time.

      • 8

        I like current form of roundup.

        Even if I cannot enjoy entire article at once, I know I can check it later.
        If some awesome example was half-remembered, I know exactly where it can be found (searching it over 10 recent short articles would be super-annoying).

        Internet has a lot of shorter blog articles like “latest 5 clever front-end tricks”, this wide scope approach makes SM content more unique.

        • 9


          April 19, 2011 7:37 am

          I totally agree, that’s what make (these type of loooong and informative articles) Smashing Magazine, unique. Just bookmark one Loooong article and you are done , Cheers :)

      • 10

        Yesterday this post included a link to a fullscreen photo background technique but it seems to have been removed from the article today. Do you still have that link?

      • 11

        Excellent, sound and imaginative work.
        The Longer the better!

      • 12

        Just to add my $.02, I like these for their reference purpose, but agree that for reading purposes, it’s too long. Perhaps a compromise could be implemented somehow? For example, maybe take the top couple in each category, then provide a way to view more? Or just some simple way to see “the best,” then “the rest”?

      • 13

        What about splitting it into two posts:
        Powerful new CSS techniques
        Powerful new CSS tools

      • 14


        January 13, 2012 10:23 am

        I actually enjoy the length of the articles.
        But I would like to see a way to bookmark or link to a particular subject in the long list. Maybe some anchor links?
        Maybe a small expandable accordion Table Of Contents linking to the anchors?
        That way it would be simpler to get back to the article without losing ones place.

    • 15

      Gabe da Silveira

      April 18, 2011 3:13 pm

      I feel you, but respectfully disagree. I like the comprehensive roundup. It serves as a good reference for years to come. If the curation was more aggressive then I would actually have to spend more time aggregating other resources. Keep up the good work guys, this is awesome.

  5. 16

    Great listings, I see at least a handful of techniques applicable to my latest projects. Thanks!

  6. 17

    So much awesomeness. I need to find a way to way to implement a bunch of these things I’m seeing for the first time.

  7. 18

    I’ve recently become very intimated by all the new CSS stuff, but you break it down well. I don’t mind that the article is really long… if anything, its easier for me because I can track down all of this stuff later from a single page.


  8. 19

    Found some gems in that post. Some great pieces to play with for some future projects.

  9. 20

    Simply fantastic overview from the current state of CSS ! Rockin’ good, thanks !

  10. 21

    Kevin Haggerty

    April 18, 2011 8:14 am

    Wow very long, exhaustive list of recent CSS developments. You forgot the first CSS3 Animation Designer, Edit Room. Live development prototype available at by yours truly. ! Webkit only supported so far, let me know when other browser support CSS3 Animations, and they will be supported as well.

  11. 22

    Nils Rasmusson

    April 18, 2011 8:15 am

    Excellent resources. Thanks for gathering them together. Bookmarked.

  12. 23

    Vitaly and Team,

    Keep up the great work. And thanks for being so thorough.

  13. 24

    Anthony Calzadilla

    April 18, 2011 9:20 am

    A little “Behind the Scene’s” of the Mad Manimation used on animatable

  14. 25

    awesome, inspiring collection. keep ’em coming.

  15. 26

    Darren Coxall

    April 18, 2011 9:58 am

    Fantastic collection. I learned a lot from it so thank you. It’s fantastic to see how much CSS has changed and evolved.

  16. 27

    I don’t know why people are complaining about this list being “too long”. Really? If you can’t handle this much awesomeness, simply do as Vitaly suggests by bookmarking it and returning another day.

    I especially love the new css3 generator and Thanks for putting all these great tools together!!

  17. 28

    Wonderful! Great learning. Thanks for consolidating it all together.
    Couple of my CSS3 experiments :) – Zero images nexus live wallpaper (for webkit) – New Chrome Logo using CSS3

  18. 29

    Great collection! Loads of new stuff here that I’ve not seen before. I’d like to see added to the list of useful CSS3 generators.

  19. 30

    Wow, I’m featured in a Smashing Mag post hah. Thanks guys! :p

    the other entries look nifty too. CSS really has come a long way since I started years ago. The future is looking pretty bright as well too.

  20. 31

    I made a tool to help migrate inline CSS styles to separate HTML and CSS.

    Figured this was relevant.


↑ Back to top