"site map"
Bootstrap 3.0.0 Snippet by weecy

<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/laviperchik/pen/FilGw?limit=all&page=36&q=shop" /> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'> <style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600|Quicksand); body { background: #292426; font-family: 'Open Sans', sans-serif; color: #4d4e4c; } h1 { font-weight: normal; line-height: 1.1; font-family: 'Quicksand', sans-serif; text-transform: uppercase; font-size: 3em; color: #fff; } .container { width: 850px; margin: 20px auto; } nav ul { margin: 0; padding: 0; list-style-type: none; } .sitemap { width: 692px; margin: 50px auto; } .sitemap a { color: #000; text-decoration: none; display: inline-block; text-transform: uppercase; margin: 0 5px; border-radius: 7px; text-align: center; position: relative; } .first > li > a { background: #b4b5b4; width: 150px; height: 70px; line-height: 70px; display: block; margin: auto; } .first > li > a:after { content: ""; position: absolute; left: 50%; width: 1px; height: 10px; background: #9e9f9e; top: 100%; } .second { padding-top: 20px; } .second > li { display: inline-block; vertical-align: top; } .second a { background: #cbcccb; font-size: 14px; width: 125px; height: 50px; line-height: 50px; z-index: 10; } .second a:before { content: ""; position: absolute; border: 1px solid #9e9f9e; border-left: none; border-bottom: none; height: 9px; top: -10px; left: -76px; width: 139px; } .second li:first-child a:before { border-top: none; } .third { margin-left: 16px; padding-top: 20px; } .third a { background: #e4e4e3; width: 100px; height: 40px; line-height: 40px; margin-bottom: 10px; z-index: 5; font-size: 10px; } .third a:before { border: 1px solid #9e9f9e; border-right: none; border-top: none; height: 55px; top: -35px; left: -8px; width: 7px; } </style></head><body> <div class="container"> <h1>example site map</h1> <nav class="sitemap"> <ul class="first"> <li><a href="#">Home</a> <ul class="second"> <li><a href="#">About</a> <ul class="third"> <li><a href="#">History</a></li> <li><a href="#">Foundation</a></li> <li><a href="#">Future Plans</a></li> </ul> </li> <li><a href="#">Articles</a> <ul class="third"> <li><a href="#">News</a></li> <li><a href="#">Book Reviews</a></li> <li><a href="#">Press</a></li> <li><a href="#">Interviews</a></li> </ul> </li> <li><a href="#">Visit</a> <ul class="third"> <li><a href="#">Location</a></li> <li><a href="#">Opening Times</a></li> <li><a href="#">Tickets</a></li> </ul> </li> <li><a href="#">Shop</a> <ul class="third"> <li><a href="#">Books</a></li> <li><a href="#">Gifts</a></li> </ul> </li> <li><a href="#">Contact</a></li> </ul> </li> </ul> </nav> <footer> <p><small>Content + Design: HTML&CSS - Design and Build Websites, page 462</small></p> </footer> </div> <script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> </body></html>

Related: See More


Questions / Comments: