Last active
August 29, 2015 14:12
-
-
Save devbyray/b7e1027c55c2fe96eadf to your computer and use it in GitHub Desktop.
Sass math
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
.container { | |
width: 100%; | |
} | |
article[role="main"] { | |
float: left; | |
width: 62.5%; | |
} | |
aside[role="complimentary"] { | |
float: right; | |
width: 31.25%; | |
} |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.container { width: 100%; } | |
article[role="main"] { | |
float: left; | |
width: 600px / 960px * 100%; | |
} | |
aside[role="complimentary"] { | |
float: right; | |
width: 300px / 960px * 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment