Why # in CSS?

Out of context: Reply #31

  • Started
  • Last post
  • 33 Responses
  • DutchBoy0

    look you have classes..

    you know like clothes.. consider this a class

    your socks need to go in the second drawer, so you give them id #seconddrawer but still you want to let everyone know that you do wear your socks hence they are clothes and belong to class .clothes

    then you have your tigerthongs, these need to go in the topdrawer, still the thongs are clothes as well so they get class .clothes, but contrary to the socks (which are also clothes) they need to go in the topdrawer, so they get id #topdrawer

    so basically they're stored in the same cabinet (.clothes) only different drawers ( #topdrawer, #seconddrawer etc. )

    GET IT NOW??

    :P

View thread