Created
April 15, 2012 08:19
-
-
Save glsee/2390890 to your computer and use it in GitHub Desktop.
MathQuill - Top Bottom Script
This file contains hidden or 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
/** | |
* MathQuill - Top Bottom Script | |
*/ | |
body { | |
} | |
.block { | |
display: inline-block; | |
} | |
.bigsymbol { | |
position: relative; | |
text-align: center; | |
display:block; | |
} | |
span { | |
margin-top: .4em; | |
} | |
sub { | |
position: absolute; | |
left: 0; | |
top: 100%; | |
width: 100%; | |
} | |
sup { | |
position: absolute; | |
left: 0; | |
bottom: 100%; | |
width: 100%; | |
} |
This file contains hidden or 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="block"><span class="bigsymbol"><span class="empty">123</span><sub class="empty">12</sub><sup class="empty">34</sup></span></span> |
This file contains hidden or 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-vertical","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment