Skip to content

Instantly share code, notes, and snippets.

@minipai
Last active December 17, 2015 06:59
Show Gist options
  • Save minipai/5569802 to your computer and use it in GitHub Desktop.
Save minipai/5569802 to your computer and use it in GitHub Desktop.

HTML A

<div class="box">
    <div class="box-title"></div>
    <div class="box-content"></div>
</div>

CSS A

    .box {...}
    .box-title {...}
    .box-content {...}

HTML B

<div class="box">
    <h1></h1>
    <p></p>
</div>

CSS B

    .box {...}
    .box h1{...}
    .box p {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment