Forums

Get help. Give help. A Web Design and Development Community.

Difference between .post.name and .post .name?

  • # February 4, 2013 at 8:47 pm

    What is the difference between the way this bit of css is written?

    **.post.name {}**

    vs

    **.post .name {}**

    # February 4, 2013 at 9:05 pm

    This reply has been reported for inappropriate content.

    @Rugg, .post.name grabs the element that has both ‘post’ and ‘name’ class where as .post .name grabs elements that have the ‘name’ class that are descendants of ‘post’ class

    # February 4, 2013 at 9:30 pm

    This reply has been reported for inappropriate content.

    @ChrisP

    Awesome, thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.