16 Awesome CSS Libraries and Resources
23 May 2016
Writing CSS is fun - at least I think it is. Some people loathe writing CSS but I love its quirks. CSS and I; we're tight, yo! Sometimes I feel like I'm Leo DiCaprio, CSS is Kate Winslet and it's all the other webby techy stuff that makes up the titanic ship we're sailing on that will eventually hit an iceberg and destroy our relationship forever!
CSS has come a long way over the years and is now capable of some pretty radical stuff. In fact CSS now does so much that sometimes it's easier to use CSS generators and libraries to achieve a desired effect than doing everything from scratch. Here I've pooled a list of resources and libraries that I think you'll love and will find useful when you next find yourself on a romantic stroll with CSS!
Animate.css is a great starter kit library for CSS animation by . When used conservatively, it can really give your website that classy edge. All you have to do is add a couple of classes to an HTML element or if you're all about semantic markup (like me) you can pinch snippets from the stylesheet and apply them to your own stylesheets accordingly.
Similar to Animate.css, Hover.css is a stylesheet by which gives you a library of stylish hover animations. In the world of responsive design hover states and animations are now less important than they used to be but they still give your desktop site a serious lift in class if that's the sort of thing you're looking for.
CSShake is another CSS animation library for shake effects. When I first stumbled across it I struggled to see where it would ever be useful but as time has gone on I find it increasingly enjoyable for the right projects. If you need to make something quiver, wobble or violently shake then is your dude!
6. Pantone Sass
You don't have to tell me about the pain of explaining the difference between additive and subtractive colour to your clients. I used to work in print and I'd always get sent RGB files. Now I work in web and everybody wants to send me Pantone colours! Luckily has created a sass stylesheet which allows you to call Pantone colours via variables!
7. CSS3 Generator
CSS3 Generator by does what it says on the tin: generates CSS3 code from toggles and switches! It's repertoire includes: border radius, box shadow, text shadow, RGBA, @Font Face, multiple columns, box resize, box sizing, outline, transition, Transform, flexbox and gradient. You just simply have to take it for a spin to see how awesome it is!
10. CSS Triangle Generator
CSS Triangle Generator is a product from an unnamed Hong Kong developer which generates CSS triangles. It has a really simple to use interface which generates CSS code for you to copy and paste. I often find myself using this as in psuedo elements to create more advanced shapes from boring rectangular
CodePen is the single greatest resource a front end developer could wish for. For the uninitiated (if there are any) CodePen is a service which lets you write HTML, CSS and JS snippets for testing or experimentation. In the : " is the front end designer's “leave a penny take a penny” jar, but where folks might occasionally leave a corvette."
If you're not already using sass then where have you been?! Sass is a CSS preprocessor that allows CSS to be used like a proper programming language utilising advanced maths, variables, 'if, else' and 'for each' statements as well as mixins and nested styles. If you're uninitiated then start with .
Bootstrap is (in their own words) the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. Bootstrap allows you to create smart looking, responsive websites by simply applying classes to HTML markup. This is a semantic HTML nightmare but semantics are just for idealists aren't they?! Either way, Bootstrap is a quick win in terms of design when budget or deadline is a concern.
In an ideal world browsers would all render your work in exactly the same way. Unfortunately we don't live in an ideal world; instead we live in a Kafka-esque nightmarish landscape where cross browser compatibility is about as compatible as trying to eat soup with a tea strainer. Fortunately the good chaps and have created Normalize.css which essentially resets browser quirks and aligns the base stylesheets to be in harmony. This is different to reset.css which literally removes everything the browsers give us, which in a lot of cases we have to go ahead and re-write.
16. Flexbox Froggy
Finally I'll round up with something super fun! One of the major advances in CSS3 was the introduction of flexbox which gives us some serious power to mess around with the layout and order of HTML using CSS. There's a minor learning curve with flexbox but don't let that scare you because has given us Flexbox Froggy: an interactive game which teaches you flexbox in an engaging and "Oh now I get it!" sort of way!
Get in touch about your project
Give us a call or send us an email to talk through your project
Responsive Design Part 4: Overcoming the drawbacks of responsive
25 Jan 2016 Are there any drawbacks of responsive design and if so what can we do to minimise the impact? We explore many of the concerns we've heard from clients.
From Print to Web: The journey of a 20th century Graphic Designer
3 Mar 2015 Six months ago our digital designer Darren was a stuck-in-a-rut print designer, utterly unaware of the opportunity that lurked just around the corner.
More recent articles
3 reasons your choice of website host isn't just an IT issue
16 Aug 2022 Choosing the web infrastructure that supports your website is of paramount importance. And given that your choice of website host underpins the ability of your business to exist online, it's fair to say you need to make a well-informed decision about your hosting service.
Why documentation and processes could stop your website from failing at a critical moment
29 Jun 2022 Do you have documentation in place so that, when changes to your website are needed, there is a clear process to be followed whether by your in-house developers or your outsourced digital marketing partners?