Created
August 13, 2021 11:12
-
-
Save codewithbernard/59cfd53d486caaf13ddff6aa8b2c8903 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| .container { | |
| position: relative; | |
| } | |
| .content { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment