Skip to content

Instantly share code, notes, and snippets.

@amirnaeem
Created September 21, 2014 16:53
Show Gist options
  • Select an option

  • Save amirnaeem/a01a220fb45d87974a25 to your computer and use it in GitHub Desktop.

Select an option

Save amirnaeem/a01a220fb45d87974a25 to your computer and use it in GitHub Desktop.

Revisions

  1. amirnaeem created this gist Sep 21, 2014.
    1 change: 1 addition & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <button class='push-button'>push it</button>
    33 changes: 33 additions & 0 deletions style.css
    Original 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;
    }
    7 changes: 7 additions & 0 deletions vJgyf.markdown
    Original 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).