"button nav"
Bootstrap 3.0.0 Snippet by MohamedSamiKhiari

<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/jet/pen/LwiGu?limit=all&page=28&q=comment" /> <style class="cp-pen-styles">@import "https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"; body { /* Image source: http://wallbase.cc/wallpaper/718405 */ /* Excuse the base64 mess, imgur blocked the hotlinked image and this seemed like the fastest solution */ background: cornflowerblue url(" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAoCAYAAABOzvzpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAOlUlEQVRo3k2aTWLj2o6DP5BHTt7dUk97C73/dbyySPSAlOoOXE7slC3+gQCO9L//839WiAyICDIAQYQAw/7bbtrmbmM35cKe9+Um1USYC8goroS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x5+2XM218G17Xuf4LTHcM2eu0BOj+jJf7k9Wp+PnWuSu3vFz/D9qapf7Y+hnnXa/ZKf14EaDPjb6o+3/bgzdvzrPqFVe8vE7jVB7zVQJQ89zmF9aEXP7t/S2vUtTvbc9NDi2JzeTrjiOQEcq7zXU8yR4qXeo3Lx3UTcC3zlSXIvjPRukBf03g3Cu0L7uUVmlfjaVo8QClp+zKO3E+jx5QNzL5Mq9Sq9FVLP6Y7X0Q2NI7vcf3z7UWL1r8elnlFinCRF44xZi7nOFOJW75H5sNWqeOVtvetxtsK0+3M/wzP/bMk1GPAebq7E9O42r+S1h5kNURlwKWZ2O8YzVM1nxJqq7xfufQQFfEN7PM2r3Ydseezr25z1nMKgXJ4Qo0ifLhiStH6fg3o8yH+1d/+78vwNnvUx1A0FR3vs9DCZ0ekNe4fW698/tlmPO1zbN7SXq/fgwzrKuYZpi/fmqdy2rnzMz353xFjTgzu5p0PB3MzUvfejadZ10VRoZ/25gWtI0d+7VvgXlX4MlL+z7+U9/w/sgwZKH+EVWgAAAABJRU5ErkJggg==") no-repeat fixed; background-size: cover; } a { font-size: 14px; text-decoration: none; outline: 0; } .circle, .ring { height: 256px; position: relative; width: 256px; } .circle { margin: 0 auto; } .ring { background-color: rgba(0,0,0,0.5); border-radius: 50%; opacity: 0; -webkit-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: scale(0.1) rotate(-270deg); -moz-transform: scale(0.1) rotate(-270deg); -transform: scale(0.1) rotate(-270deg); -webkit-transition: all 0.4s ease-out; -moz-transition: all 0.4s ease-out; transition: all 0.4s ease-out; } .open .ring { opacity: 1; -webkit-transform: scale(1) rotate(0); -moz-transform: scale(1) rotate(0); transform: scale(1) rotate(0); } .center { background-color: rgba(255,255,255,0.3); border-radius: 50%; border: 2px solid #ffffff; bottom: 0; color: white; height: 80px; left: 0; line-height: 80px; margin: auto; position: absolute; right: 0; text-align: center; top: 0; width: 80px; -webkit-transition: all 0.4s ease-out; -moz-transition: all 0.4s ease-out; transition: all 0.4s ease-out; } .open .center { border-color: #aaaaaa; } .menuItem { border-radius: 50%; color: #eeeeee; display: block; height: 40px; line-height: 40px; margin-left: -20px; margin-top: -20px; position: absolute; text-align: center; width: 40px; }</style></head><body> <div class="circle"> <div class="ring"> <a href="" class="menuItem fa fa-home fa-2x"></a> <a href="" class="menuItem fa fa-comment fa-2x"></a> <a href="" class="menuItem fa fa-play fa-2x"></a> <a href="" class="menuItem fa fa-camera fa-2x"></a> <a href="" class="menuItem fa fa-music fa-2x"></a> <a href="" class="menuItem fa fa-user fa-2x"></a> <a href="" class="menuItem fa fa-trash-o fa-2x"></a> <a href="" class="menuItem fa fa-star fa-2x"></a> </div> <a href="#" class="center fa fa-th fa-2x"></a> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script> <script >var items = document.querySelectorAll('.menuItem'); for(var i = 0, l = items.length; i < l; i++) {if (window.CP.shouldStopExecution(1)){break;} items[i].style.left = (50 - 35*Math.cos(-0.5 * Math.PI - 2*(1/l)*i*Math.PI)).toFixed(4) + "%"; items[i].style.top = (50 + 35*Math.sin(-0.5 * Math.PI - 2*(1/l)*i*Math.PI)).toFixed(4) + "%"; } window.CP.exitedLoop(1); document.querySelector('.center').onclick = function(e) { e.preventDefault(); document.querySelector('.circle').classList.toggle('open'); } //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: