Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .vertical-center {
- min-height: 100%; /* Fallback for browsers do NOT support vh unit */
- min-height: 100vh; /* These two lines are counted as one :-) */
- display: flex;
- align-items: center;
- }
Advertisement
Add Comment
Please, Sign In to add comment