Last active
February 29, 2016 13:49
-
-
Save ntwcklng/4d3b52c34686cefda06c to your computer and use it in GitHub Desktop.
Low Challenge 01 Solution
This file contains 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 characters
<div class="heart"></div> |
This file contains 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 characters
.heart { | |
padding: 50px; | |
} | |
.heart:before, .heart:after { | |
width: 50px; | |
height: 80px; | |
background: red; | |
content: ''; | |
display: block; | |
position: absolute; | |
border-radius: 50px 50px 0 0; | |
} | |
.heart:before { | |
transform: translate(22px, 0) rotate(45deg); | |
} | |
.heart:after { | |
transform: rotate(-45deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment