Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- height: 100vh;
- margin: 0;
- position: relative;
- }
- .box {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- height: 100%;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- }
- .box-content {
- background: #333;
- color: #fff;
- padding: 20px;
- }
Add Comment
Please, Sign In to add comment