Skip to content

Instantly share code, notes, and snippets.

@markmichon
Created March 31, 2013 22:41
Show Gist options
  • Save markmichon/5282305 to your computer and use it in GitHub Desktop.
Save markmichon/5282305 to your computer and use it in GitHub Desktop.
Border meetings with border-box
/* Border meetings with border-box */
.border-box {
box-sizing: border-box;
width: 200px;
height: 200px;
background-color: #ccc;
border-right: 5px solid black;
border-bottom: 10px solid green;
margin-bottom:10px;
}
.content-box {
width: 200px;
height: 200px;
background-color: #ccc;
border-right: 5px solid black;
border-bottom: 10px solid green;
}
<div class="border-box">
With Border-box
</div>
<div class="content-box">
Without Border-box
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment