A Pen by Albino Tonnina on CodePen.
Created
March 20, 2016 16:40
-
-
Save albinotonnina/bd99acd6845ed9788114 to your computer and use it in GitHub Desktop.
CSS dimension properties
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
<div>CONTENT</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
div { | |
background: yellow; | |
color: red; | |
width: 500px; | |
/* width: 80%; */ | |
/* width: 20cm; */ | |
/* width: 20em; */ | |
height: 200px; | |
} | |
/* demo styles */ | |
* { | |
box-sizing: border-box; | |
} | |
body{ | |
height:2000px; | |
} | |
body { | |
font-family: helvetica; | |
font-size: 28px; | |
margin: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment