Skip to content

Instantly share code, notes, and snippets.

@brito
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save brito/eb7972690bc64dde0d41 to your computer and use it in GitHub Desktop.

Select an option

Save brito/eb7972690bc64dde0d41 to your computer and use it in GitHub Desktop.
re:flex
/* re:flex */
body * { font:106%/1.618 Avenir;
display:inline-block;
background:transparent;
border:1px solid transparent;
max-width:38rem;
padding:0 .381rem;
margin:.381rem 0 }
body { display:flex;
flex-flow:wrap }
h1 { font-size:1.618rem; line-height:1 }
/* debug /**/
* { outline:1px solid } /**/
<h1> Do Something </h1>
<a href> Go Somewhere </a>
<p> Read something. Read anything. Read this. Read something later.
<p> Read words that are sufficient to entertain and entrance your mind.
Read words that make you think and wonder,
that make your heart jump in excitement,
that compel you and propel you into your destiny.</p>
<input placeholder="Say something">
<button> Do Something </button>
// 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