Skip to content

Instantly share code, notes, and snippets.

@peterpme
Created February 25, 2014 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterpme/9218657 to your computer and use it in GitHub Desktop.
Save peterpme/9218657 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="box1">equuntur magnorro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius</div>
<div class="box2">et voluptatemt aut fugit, sed quia consequuntt. Neque porro quissci velit, sed quia non numquam eius</div>
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.box2{
margin:20px;
width:320px;
height:80px;
font-size:32px;
display:block;
padding:0;
background:#333;
}
.box1{
margin:1em;
padding:0;
width:25em;
height:5em;
font-size:2em;
display:block;
background:#ccc;
}
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.box2 {
margin: 20px;
width: 320px;
height: 80px;
font-size: 32px;
display: block;
padding: 0;
background: #333;
}
.box1 {
margin: 1em;
padding: 0;
width: 25em;
height: 5em;
font-size: 2em;
display: block;
background: #ccc;
}
<div class="box1">equuntur magnorro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius</div>
<div class="box2">et voluptatemt aut fugit, sed quia consequuntt. Neque porro quissci velit, sed quia non numquam eius</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment