Created
January 16, 2012 14:55
-
-
Save secondfret/1621227 to your computer and use it in GitHub Desktop.
Conquering Borders: The Bane of Responsive Layouts
This file contains 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
/** | |
* Conquering Borders: The Bane of Responsive Layouts | |
*/ | |
.test { | |
height: auto; | |
width: 25%; | |
background: gray; | |
float: left; | |
overflow: hidden; | |
border: 1px solid black; | |
-webkit-box-sizing: border-box; | |
padding: 10px; | |
} | |
This file contains 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
<!-- content to be placed inside <body>…</body> --> | |
<div class="test"> | |
<p>helooooo sdfudfkjad dsfkajhdsf;jkad a;djhfajsdf;dj a;lsdfjadjs</p> | |
</div> | |
<div class="test"> | |
<p>helooooo sdfudfkjad dsfkajhdsf;jkad a;djhfajsdf;dj a;lsdfjadjs</p></div> | |
This file contains 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-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment