@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css); .roundbtn { margin-right: 20px; } .roundbtn { width: 75px; height: 75px; border: 5px solid #9a9a9a; display: inline-block; background-color: #6c6161; -moz-border-radius: 75px; -webkit-border-radius: 75px; border-radius: 75px; -moz-transition: all 35ms linear; -o-transition: all 35ms linear; -webkit-transition: all 35ms linear; transition: all 35ms linear; -ms-transition: all 35ms linear; -moz-user-select: -moz-none; -ms-user-select: none; -webkit-user-select: none; user-select: none; } .roundbtn.sea { border: 5px solid #1abc9c; background-color: #16a085; } .roundbtn.red { border: 5px solid #e74c3c; background-color: #c0392b; } .roundbtn.blue { border: 5px solid #51a9ff; background-color: #0077ea; } .roundbtn.dark { border: 5px solid #34495e; background-color: #2c3e50; } .roundbtn .inner { position: relative; width: 75px; height: 75px; background-color: #9a9a9a; margin-top: -8px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; -moz-transition: margin 35ms 35ms linear, box-shadow 35ms linear; -o-transition: margin 35ms 35ms linear, box-shadow 35ms linear; -webkit-transition: margin 35ms 35ms, box-shadow 35ms linear; -webkit-transition-delay: linear, 0s; transition: margin 35ms 35ms linear, box-shadow 35ms linear; -ms-transition: margin 35ms 35ms linear, box-shadow 35ms linear; } .roundbtn.sea .inner { background-color: #1abc9c; } .roundbtn.red .inner { background-color: #e74c3c; } .roundbtn.blue .inner { background-color: #51a9ff; } .roundbtn.dark .inner { background-color: #34495e; } .roundbtn:active .inner { margin-top: 0; -moz-box-shadow: #6c6161 0 8px 0 inset; -webkit-box-shadow: #6c6161 0 8px 0 inset; box-shadow: #6c6161 0 8px 0 inset; -moz-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear; -o-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear; -webkit-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms; -webkit-transition-delay: 0s, linear; transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear; -ms-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear; } .roundbtn:active.sea .inner { -moz-box-shadow: #16a085 0 8px 0 inset; -webkit-box-shadow: #16a085 0 8px 0 inset; box-shadow: #16a085 0 8px 0 inset; } .roundbtn:active.red .inner { -moz-box-shadow: #c0392b 0 8px 0 inset; -webkit-box-shadow: #c0392b 0 8px 0 inset; box-shadow: #c0392b 0 8px 0 inset; } .roundbtn:active.blue .inner { -moz-box-shadow: #0077ea 0 8px 0 inset; -webkit-box-shadow: #0077ea 0 8px 0 inset; box-shadow: #0077ea 0 8px 0 inset; } .roundbtn:active.dark .inner { -moz-box-shadow: #2c3e50 0 8px 0 inset; -webkit-box-shadow: #2c3e50 0 8px 0 inset; box-shadow: #2c3e50 0 8px 0 inset; } .text { position: absolute; top: 32px; left: 0; right: 0; text-align: center; text-transform: uppercase; font-family: Courier New; font-size: 13px; color: white; font-weight: 300; letter-spacing: 1px; text-shadow: rgba(0, 0, 0, 0.5) 0 0 5px; }