Skip to content

Instantly share code, notes, and snippets.

@ab-5v
Created November 11, 2013 10:11
Show Gist options
  • Save ab-5v/7410911 to your computer and use it in GitHub Desktop.
Save ab-5v/7410911 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
*/
body {
padding-top: 200px;
background: #f06;
background: linear-gradient(90deg, #f06, yellow);
min-height: 100%;
}
div {
display: inline-block;
width: 40px;
height: 30px;
line-height: 30px;
background: blue;
text-align: center;
color: #fff;
opacity: .7;
cursor: pointer;
}
div:hover ~ div {
background: cyan;
}
<!-- content to be placed inside <body>…</body> -->
<div>1</div>
<div class="active">2</div>
<div>3</div>
<div>4</div>
<div>5</div>
// 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