POWERED by FUSION

My name is Jake Marsh. I'm a developer, designer, and writer.


Subscribe via RSS or Twitter.

#css Posts

Animate.css - a bunch of plug-and-play CSS animations

Posted

animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.

Great little library for generating a pre-made .css file filled with ready-to-use CSS3 keyframe animations. Useful and a good way to learn about doing animations like this in CSS.

CSS4 Selectors

Posted

Looks like the CSS Working Group has published their first working draft of how they'd like CSS4 selectors to work.

Here are some of the highlights:

var el = document.querySelector("#foo"); // returns first element with ID of foo
    var bar = document.querySelector(":scope > p", el); // returns equivalent of "#foo > p"
li a:matches(:link, :hover, :visited)
a:local-link /* Matches anything that links to the current page */
a:local-link(0) /* Matches any link that is the same domain */

There's tons more and David Storey does a great job of explaining stuff in his blog post.