CSS Can Do What?!

When you don't actually need JavaScript

Bryan Robinson

Twitter: @brob

 

bryanlrobinson.com

 

Simple
Fewer Requests
Fun and Profit

Why?

CSS is Powerful

I Still Love JS

Examples and Demos

TOOLTIPS

And not just because of :hover

:hover

attributes

content

CONCEPTS

Demo

[attr] selector

content: attr()

MODAL

Who needs JS for a Click?

:target

 

CONCEPTS

Demo

:target

OFF-CANVAS NAV

HTML/CSS states

[checked]

~

Transitions

CONCEPTS

Demo

CSS Can Do What?!

By Bryan Robinson

CSS Can Do What?!

CSS can do a lot now.

  • 866