Community Project: Style a Description List
tuts workshop

Community Project: Style a Description List

Style a what?! That’s right, in this community project I want you to style something you’ve possibly never used before; a description list.. Send your CSS over and worthy examples will be published on the site next week. Read on to find out more!

You can use whatever techniques you want, as long as they happen through the magic of CSS

This is Easy(ish)

I’m going to give you a simple piece of markup (a description list) which you’re free to style in any way you please. Here’s the markup (download it wrapped up as an html file if you want):

<dl>
	<dt>Psdtuts+</dt>
	<dd>Adobe Photoshop Tutorials from Beginner to Advanced.</dd>
	<dt>Nettuts+</dt>
	<dd>Web development Tutorials, from Beginner to Advanced.</dd>
	<dt>Webdesigntuts+</dt>
	<dd>In-depth tutorials and articles on web design.</dd>
	<dt>Wptuts+</dt>
	<dd>A WordPress Website dedicated to WordPress training, tutorials, and WordPress videos.</dd>
</dl>

A Quick Description of Description Lists

You’ll possibly recognize <dl> as a definition list, an element which has been around since HTML4. It’s been repurposed for HTML5 however, because it was often misunderstood and therefore misused.

A description list in its simplest form comprises a list <dl>, plus the key-value pairs; term <dt> and description <dd>. It’s possible to have multiple terms for any single description, just as it’s possible to have multiple descriptions of a single term. There are also additional bits of markup such as <dfn> which can be thrown into the mix, but we’ll worry about that another day :)

Read more from the W3C spec if you’re feeling curious.


What do you think you could do with this list, using the power of CSS? Here are two really basic examples, just so you get an idea of what we’re doing here.


Anything Goes

You can’t touch the HTML, without exception. But there’s loads you could do to style this list via CSS!

  • Play with the colors
  • Alter the fonts (use @font-face if you want)
  • Make it responsive
  • Add some dynamic content with pseudo elements
  • Focus on usability
  • Blow us away with rollovers and transitions
  • Even use textures and images if you want (just make sure you zip the whole lot up when you send it over)

The only thing you need to bear in mind is that the demo page already has its styles reset with normalize.css.


Sign Me Up!

This couldn’t be simpler:

I’ll publish the best ones when I’ve collected a few. This can be on-going too – there’s no deadline.

I look forward to seeing what you all come up with! Good luck!

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://www.rv-designs.nl Rv-Designs

    I will see what i can do with this community project.

  • http://www.johnbelisle.com John Belisle

    Yikes… this one might be the toughest yet! I know what a definition list is… but I don’t think I have ever actually used one! I can’t wait to see the creativity used here.

  • http://tixz.dk/ Emil Melgaard

    You should include more dd’s under each dt to challenge the versatility of the design.

  • http://www.nielsvoogt.nl Niels Voogt

    Tough one :D Never even heard of dl’s…

    Took me almost a day to beat the dl’s, dt’s and dd’s into submission without touching the HTML, but I finally got them to do what I want. Learned a ton in the process, now finishing off with some graphic gravy and then it will be ready for submission!

  • http://www.behance.net/GraphanixDziner Ernest Gerber, GraphanixDziner

    Really learned alot with this one. Nice challenge.

  • http://www.pixprodesigns.com Kumar Gaurav

    Sent One… Lets see the results…

  • fdiz

    Sent !

    Maybe there will be an other “Metro themed” one this time !

  • http://www.chris-spittles.co.uk Chris

    Mine is on its way.

  • http://www.rafalborowski.com Rafal Borowski

    Work in progress ;)

  • http://www.hachemuda.com Guillermo

    Sent!

  • N

    Can I replace the file I uploaded with the new one?

  • http://www.nielsvoogt.nl Niels Voogt

    Had so much fun with this, can’t wait to see what others have done with it!
    When will the results be published?

  • Pingback: Community Project: Description List Results! | Webdesigntuts+

  • Pingback: My Stream | Community Project: Description List Results! | My Stream