Skip to content

Instantly share code, notes, and snippets.

@argyleink
Created December 3, 2012 22:00
Show Gist options
  • Save argyleink/4198501 to your computer and use it in GitHub Desktop.
Save argyleink/4198501 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
section {
background:purple;
display:inline-block;
padding-right:40px;
}
.tile.hero {
display:inline-block;
}
.sub-hero {
margin:20px 0;
}
.sub-heroes {
display:inline-block;
background-color:red;
position:relative;
}
h2,h3 {
display:inline-block;
}
<section class="hub">
<header>
<h2>Title</h2>
<h3>4 issues</span>
</header>
<article class="hero tile" style="width:400px; height:600px; background-color:grey;"></article>
<div class="sub-heroes">
<article class="sub-hero tile" style="width:200px; height:270px; background-color:grey;"></article>
<article class="sub-hero tile" style="width:200px; height:270px; background-color:grey;"></article>
</div>
<div class="hero-shadow" style="background-color:grey;"></div>
</section>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment