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