Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vertical:
- div {
- display: -webkit-flex;
- display: flex;
- align-items: center;
- }
- <div>
- Your text here.
- </div>
- ---------
- Horizontal:
- div {
- display: -webkit-flex;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- <div>
- Your text here.
- </div>
Add Comment
Please, Sign In to add comment