Created
February 17, 2016 09:41
-
-
Save gogachinchaladze/2a8bbb0f62058d6d7bb2 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
.absolutely-centered-with-class{ | |
position:absolute; | |
top:0; | |
bottom:0; | |
left:0; | |
right:0; | |
margin:auto; | |
} | |
%absolutely-centered-without-class{ | |
position:absolute; | |
top:0; | |
bottom:0; | |
left:0; | |
right:0; | |
margin:auto; | |
} | |
#some-div{ | |
@extend .absolutely-centered-with-class; | |
} | |
#some-other-div{ | |
@extend %absolutely-centered-without-class; | |
} | |
#some-completely-other-div{ | |
@extend %absolutely-centered-without-class; | |
} |
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
.absolutely-centered-with-class, #some-div { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
margin: auto; | |
} | |
#some-other-div, #some-completely-other-div { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
margin: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment