CSS Nuggets

Oct '0926th

5

At Barcamp London 7, I gave a presentation on some CSS tricks I learnt while building Scrunchup.  Here it is:

I’m planning on doing a full write-up for an upcoming issue of Scrunchup.

5 Comments on “CSS Nuggets”

    Andy Piper Says:

    October 26th, 2009 at 1:06 pm

    This was a great presentation and it was really helpful to learn that some of this stuff is even possible – was it just a question of learning as you went, or was there some source material that you can recommend (sites / books / tutorials)

    Anna Debenham Says:

    October 26th, 2009 at 1:22 pm

    Thanks Andy,

    These are all techniques I learnt while building Scrunchup. I found the use of nth-of-type for layout when I was doing the layout and thinking “there must be a better way of doing this”, so I reviewed a list of selectors to see what they did. I found this site most useful because it shows examples of what selectors do: http://www.quirksmode.org/css/contents.html

    Martin Bean Says:

    October 30th, 2009 at 4:32 pm

    Some cool techniques I haven’t used before, particularly the nth-of-type, first-of-type and last-of-type stuff.

    I’ll look at putting these into practice in the future when necessary.

    Gary Says:

    November 25th, 2009 at 11:39 am

    Great introduction to some very clever stuff.
    Would be nice to have the script to the presentation though, but for now I’m flicking through the slides and googling stuff that looks interesting.

    Particularly looking forward to playing with nth-of-type for layout divs, as thus far I’ve had to do some horrific crowbarring of styles to get the right effect.

Leave a Reply

All comments are moderated, so there may be a delay in your comment being posted.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>