Skip to content
  • Unwatch
  • Fork

/devopera-static-backup

HTTPS clone URL

SSH clone URL

Subversion checkout URL

You can clone with HTTPS, SSH, or Subversion.

Clone in Desktop Download ZIP
tree: 869f534ade
Mathias Bynens mathiasbynens
26 lines (26 sloc) 0.728 kb
<!DOCTYPE html>
<head>
<title>menu mockup</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style type="text/css">
.show {display: none; }
.hide:focus + .show {display: inline; }
.hide:focus { display: none; }
.hide:focus ~ #list { display:none; }
@media print { .hide, .show { display: none; } }
</style>
</head>
<body>
<p>Here's a list</p>
<div>
<a href="css-menu-ex1.html#" class="hide">[hide]</a>
<a href="css-menu-ex1.html#" class="show">[show]</a>
<ol id="list">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ol>
</div>
<p>How about that?</p>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.