Last active
August 29, 2015 14:20
-
-
Save co0kie/05375ce9e237d296bff3 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="grands-parent"> | |
<div class="parent"> | |
mom | |
<div class="anak-1"> | |
child | |
</div> | |
</div> | |
</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.14) | |
// Compass (v1.0.1) | |
// ---- | |
.grands-parent{ | |
width: 800px; | |
height: 300px; | |
border: 1px solid green; | |
position: static; | |
.parent{ | |
width: 500px; | |
height: 200px; | |
border: 1px solid red; | |
// position: relative; | |
.anak-1{ | |
position: absolute; | |
top: 0; | |
right: 0; | |
width: 80px; | |
height: 80px; | |
border: 1px solid blue; | |
} | |
} | |
} |
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
.grands-parent { | |
width: 800px; | |
height: 300px; | |
border: 1px solid green; | |
position: static; | |
} | |
.grands-parent .parent { | |
width: 500px; | |
height: 200px; | |
border: 1px solid red; | |
} | |
.grands-parent .parent .anak-1 { | |
position: absolute; | |
top: 0; | |
right: 0; | |
width: 80px; | |
height: 80px; | |
border: 1px solid blue; | |
} |
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="grands-parent"> | |
<div class="parent"> | |
mom | |
<div class="anak-1"> | |
child | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment