Created
October 15, 2012 10:56
-
-
Save theophani/3891929 to your computer and use it in GitHub Desktop.
Untitled
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
body { font-size: 250px; } | |
.responsive-number { white-space: nowrap; } | |
.responsive-number > *:before { content: " "; /* six-per-em-space */ } | |
.responsive-number > :first-child:before {content: ""; } | |
@media (max-width: 1000px) { | |
.m-group:after { content: " M"; } | |
.k-group, .base-group { display: none; } | |
} | |
@media (max-width: 1300px) { | |
.k-group:after { content: " k"; } | |
.base-group { display: 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
<span class="responsive-number"><span class="m-group">123</span><span class="k-group">456</span><span class="base-group">789</span></span> |
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","fontsize":"100","seethrough":"","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment