Created
May 21, 2014 04:27
-
-
Save co0kie/5bcaa65be57140eea94d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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="eye"></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
// ---- | |
// Sass (v3.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@import "compass"; | |
.eye{ | |
position: relative; | |
width: 400px; | |
height: 200px; | |
margin: 0 auto; | |
&:before{ | |
@include border-radius(40px); | |
border: 1px solid #636363; | |
width: 40px; | |
height: 40px; | |
position: absolute; | |
content: ''; | |
top: 50%; | |
left: 50%; | |
} | |
} |
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
.eye { | |
position: relative; | |
width: 400px; | |
height: 200px; | |
margin: 0 auto; | |
background: #000; | |
} | |
.eye:before { | |
-moz-border-radius: 40px; | |
-webkit-border-radius: 40px; | |
border-radius: 40px; | |
border: 1px solid #636363; | |
width: 40px; | |
height: 40px; | |
position: absolute; | |
content: ''; | |
top: 50%; | |
left: 50%; | |
} |
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="eye"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment