Last active
March 26, 2017 12:33
-
-
Save surajmandalcell/6ffd8d4d75c271271753d4d111e40754 to your computer and use it in GitHub Desktop.
Include this > https://rawgit.com/surajmandalcell/6ffd8d4d75c271271753d4d111e40754/raw/f90930780358332bcb2a2f16cc9053e48a310efc/cssQuick.css
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
/* https://rawgit.com/surajmandalcell/6ffd8d4d75c271271753d4d111e40754/raw/f90930780358332bcb2a2f16cc9053e48a310efc/cssQuick.css */ | |
.center-it-x{ | |
margin-left: 50%; | |
transform: translateX(-50%); | |
} | |
.center-it-y{ | |
margin-top: 50%; | |
transform: translateY(-50%); | |
} | |
.center-it-all{ | |
margin-top: 50%; | |
margin-left: 50%; | |
transform: translate(-50%, -50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment