Home » Snippets » CSS3 Buttons With Icons CSS3 Buttons With Icons - Snippet --- jQuery jQuery UI Bootstrap Angular Backbone D3 Ember GreenSock TweenMax Handlebars Lodash Modernizr Polymer React React DOM Snap.svg Three.js Underscore Zepto ZingChart --- Bootstrap Foundation Animate.css Preview HTML CSS JS <div id="container"> <div id="button-container"> <div id="button" class="yellow"> <div id="clock"><div id="clock-hand1"></div><div id="clock-hand2"></div></div> <p>Time schedule</p> </div> </div> <div id="button-container"> <div id="button" class="green"> <div id="order"><div id="order-line"></div><div id="order-line"></div></div> <p>Order list</p> </div> </div> <div id="button-container"> <div id="button" class="blue"> <div id="camera"><div id="camera-button"></div><div id="camera-optics"></div></div> <p>My photos</p> </div> </div> </div> #container{ font-family:Arial, Helvetica, sans-serif; position:absolute; top:0; left:0; background: #005778; width:100%; height:100%; } #button-container{ position:relative; left:40%; width:203px; height:43px; background:#022c3e; padding-top:5px; margin-top:10px; -webkit-border-radius:38px; -moz-border-radius:38px; border-radius:38px; -webkit-box-shadow:inset 0 1px 2px #000, 0px 1px 1px rgba(255,255,225,0.2); -moz-box-shadow:inset 0 1px 2px #000, 0px 1px 1px rgba(255,255,225,0.2); box-shadow:inset 0 1px 2px #000, 0px 1px 0px rgba(255,255,225,0.3); /*Hover effect*/ -webkit-transition: .5s all; -moz-transition: .5s all; -o-transition: .5s all; -ms-transition: .5s all; transition: .5s all;} #button{ position: absolute; top: 5px; left: 5px; width:193px; height:38px; margin:0px auto; -webkit-border-radius:20px; -moz-border-radius:20px; border-radius:20px; cursor:pointer; } #button p{ margin-top: 11px; margin-left:60px; font-size:.9em; } #button-container:hover { -webkit-box-shadow: inset 0 1px 2px #000, 0px 0px 10px 5px rgba(255,255,225,0.2); } /*Colors*/ .yellow{ /*Gradient*/ background: rgb(255,197,120); /* Old browsers */ background: -moz-linear-gradient(top, rgba(255,197,120,1) 0%, rgba(251,157,35,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,197,120,1)), color-stop(100%,rgba(251,157,35,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(255,197,120,1) 0%,rgba(251,157,35,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(255,197,120,1) 0%,rgba(251,157,35,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(255,197,120,1) 0%,rgba(251,157,35,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(255,197,120,1) 0%,rgba(251,157,35,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc578', endColorstr='#fb9d23',GradientType=0 ); /* IE6-9 */ } .green{ background: rgb(205,235,142); /* Old browsers */ background: -moz-linear-gradient(top, rgba(205,235,142,1) 0%, rgba(165,201,86,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(205,235,142,1)), color-stop(100%,rgba(165,201,86,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(205,235,142,1) 0%,rgba(165,201,86,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(205,235,142,1) 0%,rgba(165,201,86,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(205,235,142,1) 0%,rgba(165,201,86,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(205,235,142,1) 0%,rgba(165,201,86,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cdeb8e', endColorstr='#a5c956',GradientType=0 ); /* IE6-9 */ } .blue{ background: rgb(122,188,255); /* Old browsers */ background: -moz-linear-gradient(top, rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(122,188,255,1)), color-stop(44%,rgba(96,171,248,1)), color-stop(100%,rgba(64,150,238,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */ } /*ICONS*/ #clock{ position:absolute; top:10px; left:20px; width:15px; height:15px; border:2px solid #000; -webkit-border-radius:50%; -moz-border-radius:50%; border-radius:50%; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); opacity:0.8; } #clock-hand1{ position:absolute; width:0px; height:5px; border:1px solid #000; top:2px; left:7px; } #clock-hand2{ position:absolute; width:5px; height:0px; border:1px solid #000; top:7px; left:7px; } #order{ position:absolute; top:10px; left:23px; width:10px; height:15px; border:2px solid #000; -webkit-border-radius:2px; -moz-border-radius:2px; border-radius:2px; border-top-right-radius:5px; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); opacity:0.8; } #order-line{ position:absolute; width:4px; height:0px; border:1px solid #000; top:5px; left:0px; } #order-line:nth-child(2){ top:10px; width:6px; } #camera{ position:absolute; top:12px; left:23px; width:17px; height:11px; border:2px solid #000; -webkit-border-radius:2px; -moz-border-radius:2px; border-radius:2px; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter: alpha(opacity=80); opacity:0.8; } #camera-optics{ position:absolute; top:1px; left:4px; width:5px; height:5px; border:2px solid #000; -webkit-border-radius:50%; -moz-border-radius:50%; border-radius:50%; } #camera-button{ position:absolute; top:-3px; left:1px; width:0px; height:0px; border:2px solid #000; border-bottom:0; } Tutorials Palace 10 January, 2019 No Comments 109 Views CSS3 Buttons With Icons CSS Buttons CSS Buttons Download CSS3 Buttons With Icons Code Fullscreen Tutor Play Walkthrough Related Snippets Box Shadow Editor Canvas Particles Emission Dripping Paint CSS3 Animation National flag of Mongolia Particles Emission Based on Mouse Moves Custom Cursor Images with CSS Particle System Leaving Trails CSS3 LT Form Particles Gravity Effect Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Notify me of new posts by email.