Created
April 30, 2012 16:49
-
-
Save gustaff-weldon/2559959 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrapper { width: 500px; background: #efefef;} | |
.cb { box-sizing: content-box} | |
.bb { box-sizing: border-box;} | |
input, textarea { | |
width: 200px; | |
padding: 0 10%; | |
margin: 0 10%; | |
} | |
.wrapper div { | |
background: #ffeebb; | |
width: 200px; | |
padding: 0 10%; | |
margin: 0 10% | |
} | |
p { | |
background: #99ddee; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<input type="text" value="default"/> | |
<textarea class="cb">textarea</textarea> | |
<div><p>test</p></div> | |
<input class="cb" type="text" value="content box"/><textarea>textarea</textarea> | |
<div><p>test</p></div> | |
<input class="bb" type="text" value="border box"/> | |
<textarea class="bb">border box textarea</textarea> | |
<div class="bb"><p>test</p></div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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