Difference between revisions of "Team:WLC-Milwaukee/Project"
Mwmortensen (Talk | contribs) |
Mwmortensen (Talk | contribs) |
||
Line 73: | Line 73: | ||
</html> | </html> | ||
<html> | <html> | ||
− | + | <head> | |
+ | <style> | ||
+ | #sidebar {height:100%; background:blue; width:200px; clear:none; float:left;} | ||
+ | #content {height:100%; background:green; width:400px; clear:none; float:left;} | ||
+ | label {background:yellow;float:left;} | ||
+ | input{display:none;} | ||
+ | input:checked+#sidebar{display:none;} | ||
+ | </style> | ||
+ | </head> | ||
<body> | <body> | ||
<div> | <div> | ||
− | <label for="hider"> | + | <label for="hider">Hide</label> |
<input type="checkbox" id="hider"> | <input type="checkbox" id="hider"> | ||
− | <div id="sidebar"> | + | <div id="sidebar">foo</div> |
− | + | ||
− | <div id="content"> | + | <div id="content">hello</div> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 03:47, 10 September 2015
Project