Difference between revisions of "Team:WLC-Milwaukee/Project"

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"><h1> Label </h1></label>
+
<label for="hider">Hide</label>
 
<input type="checkbox" id="hider">
 
<input type="checkbox" id="hider">
<div id="sidebar"> content content content content </div>
+
<div id="sidebar">foo</div>
<br />
+
 
<div id="content">content content content content</div>
+
<div id="content">hello</div>
  
 
</div>
 
</div>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 03:47, 10 September 2015




Project