Created
September 21, 2014 16:53
-
-
Save amirnaeem/a01a220fb45d87974a25 to your computer and use it in GitHub Desktop.
Revisions
-
amirnaeem created this gist
Sep 21, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ <button class='push-button'>push it</button> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ @import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300italic); @keyframes effect { 0% { box-shadow: 0 0 0 0px #fff, 0 0 0 5px rgba(35, 124, 234, 0.5); } } .push-button { font-family: 'Open Sans Condensed', sans-serif; font-style: italic; font-weight: 300; display: block; font-size: 30px; width: 5em; height: 5em; border: none; background: #0ca2cc; color: #fff; border-radius: 50%; overflow: hidden; position: relative; margin: 150px auto 0; box-shadow: 0 0 0 25px #fff, 0 0 0 30px rgba(35, 124, 234, 0); } .push-button:not(:active) { animation: effect 0.5s; } .push-button:focus { outline: none; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ vJgyf ----- A [Pen](http://codepen.io/domakas/pen/vJgyf) by [Domas Makšimas](http://codepen.io/domakas) on [CodePen](http://codepen.io/). [License](http://codepen.io/domakas/pen/vJgyf/license).