Skip to content

Instantly share code, notes, and snippets.

@carlcarl
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save carlcarl/8486b7fe6fab79cbfeb2 to your computer and use it in GitHub Desktop.

Select an option

Save carlcarl/8486b7fe6fab79cbfeb2 to your computer and use it in GitHub Desktop.

Revisions

  1. carlcarl renamed this gist Feb 22, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. carlcarl created this gist Feb 22, 2015.
    31 changes: 31 additions & 0 deletions heart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    .heart{
    position: relative;
    width: 200px;
    height: 200px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #FF7E7E;
    }
    .heart-shape:before,
    .heart-shape:after{
    position: absolute;
    width: 200px;
    height: 200px;
    content: '';
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #FF7E7E;
    }
    .heart-shape:before{
    bottombottom: 0px;
    left: -100px;
    }
    .heart-shape:after{
    top: -100px;
    rightright: 0px;
    }