Skip to content

Instantly share code, notes, and snippets.

@brito
Created May 28, 2014 21:18
Show Gist options
  • Save brito/e236466513ed662bd523 to your computer and use it in GitHub Desktop.
Save brito/e236466513ed662bd523 to your computer and use it in GitHub Desktop.
ratio
/* ratio */
a { background:hsla(11,99%,50%,.6); width:3.14em; vertical-align:middle }
#phi { font-size:.618em }
#phisq { font-size:.381em }
#one { font-size:1em }
#Phi { font-size:1.618em }
#Phisq { font-size:2.618em }
#three { font-size:3em }
#Pi { font-size:3.14em; border-radius:.5em }
body { font-size:500%; text-align:center }
<a id=phi>1-ɸ</a>
<a id=phisq>(1-ɸ)<sup>2</sup></a>
<a id=one>1</a>
<a id=Phi>ɸ</a>
<a id=Phisq>ɸ<sup>2</sup></a>
<a id=three>3</a>
<a id=Pi>∏</a>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment