Created
April 10, 2015 06:42
-
-
Save runa-ichinose/8d7ef341d7ec778ae223 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<p>あああああ</p> | |
<p class="item">aaaaa</p> | |
<ul class="box"><li>1</li> | |
<li>2</li> | |
<li>3</li> | |
</ul> | |
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.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin fz($size) { | |
font-size: $size + px; | |
font-size: ($size / 10) * 1rem; | |
} | |
html { | |
font-size:62,5%; | |
} | |
.item { | |
@include fz(18); | |
} | |
.box { | |
@include fz(26); | |
list-style: none; | |
} | |
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
html { | |
font-size: 62,5%; | |
} | |
.item { | |
font-size: 18px; | |
font-size: 1.8rem; | |
} | |
.box { | |
font-size: 26px; | |
font-size: 2.6rem; | |
list-style: none; | |
} |
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
<p>あああああ</p> | |
<p class="item">aaaaa</p> | |
<ul class="box"><li>1</li> | |
<li>2</li> | |
<li>3</li> | |
</ul> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment