treehouse : what would you like to learn today?
Web Design Web Development iOS Development

ysamjo

  • Match first element

    Well that's my problem... To clarify: text text text text text text text text text text And now I don't want to make the first p bold, but the first div. And as I said I don't know the upper element of the dix class.
    Comment by ysamjo January 2009 permalink
  • Match first element

    Yay, i've been aware of :first-child, but foo:first-child matches the first child from foo and not foo itself, doesn't it?
    Comment by ysamjo January 2009 permalink