Learn how to Write Lightning-Fast Code in 4 Minutes: Screencast
We all know the benefits of using snippets and bundles to speed up our coding, but what if we could take things a step further, and turn a complex html structure into something as simple as a CSS selector? Well, thanks to a new project, called Zen-Coding, we can do this very thing!
In this four-minute video quick tip, I’ll demonstrate how.
Download Zen-Coding
Other Viewing Options
Update
Within the comments below, I made a suggestion that it would be neat if we could also paste in the generic “lorem” text, like so:
div#header>p>lorem
This would generate something like so:
<div id="header"> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> </div>
Unfortunately, I didn’t know how to do it. But luckily, the author of Zen-Coding, Sergey, was able to help me. I recorded a sixty second screencast showing you how to allow for this. You can watch it here.
Additional Resources
- Follow us on Twitter, or subscribe to the Nettuts+ RSS Feed for the best web development tutorials on the web.
Write a Plus Tutorial
Did you know that you can earn up to $600 for writing a PLUS tutorial and/or screencast for us? We’re looking for in depth and well-written tutorials on HTML, CSS, PHP, and JavaScript. If you’re of the ability, please contact Jeffrey at nettuts@tutsplus.com.
Please note that actual compensation will be dependent upon the quality of the final tutorial and screencast.

- Biggun
- Sean
- http://www.nouveller.com/ Benjamin Reid
- http://www.brandoneley.com/ Brandon Eley
- http://bengood.org Ben G
- Mike Jonas
- Wanyax
- http://newarts.at Drazen Mokic
- NinaMo
- Dr_RottenGrab
- icetrix
- http://craigps.info/ Craigsnedeker
- http://ivorpadilla.net iPad
- http://www.formatix.eu/en/ Formatix
- Ce.
- Ce.
- http://twitter.com/jjenzz Jenna
- http://twitter.com/jjenzz Jenna
- http://msylvia.nukefile.net MSylvia
- http://hamsterboy.dk Daniel Aakjær Sørensen
- http://www.russelluresti.com RussellUresti
- Muhammad Salem
- http://chikuyonok.ru Sergey Chikuyonok
- Wanyax
- Wanyax
- http://newarts.at Drazen Mokic
- TJ
- http://www.iamchad.com Chad Warren
- Devon
- http://twitter.com/QwertyDesignUK Richard Dale
- Daniel
- Daniel
- http://chikuyonok.ru Sergey Chikuyonok
- http://lessbit.com Stefano
- http://www.garystorey.com Gary Storey
- Jeffrey Karbowski
- http://www.fishmemory.net fractalbit
- http://code.google.com/p/texterbundles/ Jeffrey Karbowski
- http://www.o-theme.com Dian
- M
- http://mmomap.com/ ylciwq
- http://www.exposecreative.net Mischa Colley
- http://www.fishmemory.net fractalbit
- http://www.fishmemory.net fractalbit
- http://www.nunomedia.com Nuno
- http://www.maikdiaz.com maik
- Craig
- http://www.wordimpressed.com Devin Walker
- Iftikhar Ahmed
- Mike Heath
- Murali
- The DOUBL
- http://www.imediadisha.com suhasini
- NewGuyHere
- NewGuyHere
- Akhil CS
- lai
- jeshan
