Skip to content

Instantly share code, notes, and snippets.

@iamvdo
Created January 20, 2012 21:06
Show Gist options
  • Save iamvdo/1649562 to your computer and use it in GitHub Desktop.
Save iamvdo/1649562 to your computer and use it in GitHub Desktop.
Grid Layout
/**
* Grid Layout
*/
body{
display:-webkit-grid;
grid-columns:200px 200px;
grid-rows:200px 200px;
}
div{width:100px;height:100px; background:red;}
div:last-child{
grid-column:2;
grid-row:2;
}
<div></div>
<div></div>
{"view":"split","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment