Over a million developers have joined DZone.

Improve Your CSS Kung-Fu: Chris Coyier's Best Practices for HTML and CSS

· Web Dev Zone

Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.

Lots of us 'know' CSS but don't use it to the max. More perniciously, despite demos like the famous zen garden, it's easy to forget about some of the more powerful -- but more abstract --  applications of CSS.

Keeping in mind that old programming habits die hard, Chris Coyier put online some very slick and very useful slides from his talk at the Future of Web Apps conference in London earlier this month.

The challenge? Really, really don't write more code than you need to. Particularly (slide 32) he suggests:

Don't use ID's in your CSS whatsoever for one small project.

That might be tricky, unless you're already a CSS master. If not, then remember: no shortcuts during creation means no waste during curation. A stitch in time saves nine. Which isolates nicely part of why CSS is so great (besides letting you make stuff look cool).

Click through the slides and exercise your CSS-jitsu:

 

 

Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}