"card"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/lonekorean/pen/eNEEpB?depth=everything&order=popularity&page=19&q=blog&show_forks=false" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700); *, *::before, *::after { box-sizing: border-box; } html { min-height: 100%; } body { margin: 40px; font: 1.2em/1.2 'Noto Sans', sans-serif; background: -webkit-linear-gradient(left, #b9c3c9, #6b7c87); background: linear-gradient(90deg, #b9c3c9, #6b7c87); } form { position: relative; width: 300px; margin: 0 auto; padding: 20px; border-top: 30px solid #5c5d5e; border-radius: 10px; background-color: #e8ebed; box-shadow: 0 0 80px rgba(0, 0, 0, .2); } form::before { content: ''; position: absolute; top: -20px; left: 15px; width: 10px; height: 10px; border-radius: 50%; background-color: #adadae; box-shadow: 20px 0 0 #adadae, 40px 0 0 #adadae; } h1 { margin: 0; padding-bottom: 20px; border-bottom: 1px solid #adadae; color: #5c5d5e; font-size: 1.1em; } .tree { padding: 20px 0; } .tree::after { content: ''; display: block; clear: left; } .tree div { clear: left; } input[type="checkbox"] { position: absolute; left: -9999px; } label, a { display: block; float: left; clear: left; position: relative; margin-left: 25px; padding: 5px; border-radius: 5px; color: #5c5d5e; text-decoration: none; cursor: pointer; } label::before, a::before { display: block; position: absolute; top: 6px; left: -25px; font-family: 'FontAwesome'; } label::before { content: '\f07b'; /* closed folder */ } input:checked + label::before { content: '\f07c'; /* open folder */ } a::before { content: '\f068'; /* dash */ } input:focus + label, a:focus { outline: none; background-color: #b9c3c9; } .sub { display: none; float: left; margin-left: 30px; } input:checked ~ .sub { display: block; } input[type="reset"] { display: block; width: 100%; padding: 10px; border: none; border-radius: 10px; color: #e8ebed; background-color: #6b7c87; font-family: inherit; font-size: .9em; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; } input[type="reset"]:focus { outline: none; box-shadow: 0 0 0 4px #b9c3c9; }</style></head><body> <!-- Checkbox Trickery with CSS: http://codersblock.com/blog/checkbox-trickery-with-css/ --> <form> <h1>C:\Users\Will\Magic</h1> <div class="tree"> <div> <input id="n-0" type="checkbox"> <label for="n-0">Black</label> <div class="sub"> <a href="#link">Plague Rats</span> <a href="#link">Sengir Vampire</a> </div> </div> <div> <input id="n-1" type="checkbox"> <label for="n-1">Blue</label> <div class="sub"> <a href="#link">Mana Leak</a> <a href="#link">Time Warp</a> </div> </div> <div> <input id="n-2" type="checkbox"> <label for="n-2">Green</label> <div class="sub"> <a href="#link">Giant Growth</a> <a href="#link">Liege of the Tangle</a> </div> </div> <div> <input id="n-3" type="checkbox"> <label for="n-3">Red</label> <div class="sub"> <a href="#link">Mogg Fanatic</a> <a href="#link">Worldfire</a> </div> </div> <div> <input id="n-4" type="checkbox"> <label for="n-4">White</label> <div class="sub"> <a href="#link">Healing Salve</a> <a href="#link">Serra Angel</a> </div> </div> <div> <input id="n-5" type="checkbox"> <label for="n-5">Multicolor</label> <div class="sub"> <div> <input id="n-5-0" type="checkbox"> <label for="n-5-0">Blue + Green</label> <div class="sub"> <a href="#link">Simic Aurora</a> <a href="#link">Wistful Selkie</a> </div> </div> <div> <input id="n-5-1" type="checkbox"> <label for="n-5-1">Red + White</label> <div class="sub"> <a href="#link">Boros Swiftblade</a> <a href="#link">Lightning Helix</a> </div> </div> </div> </div> </div> <input type="reset" value="Collapse All"> </form> </body></html>

Related: See More


Questions / Comments: