Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .centered {
- position: fixed;
- top: 50%;
- left: 50%;
- /* bring your own prefixes */
- transform: translate(-50%, -50%);
- }
- .container .box .desc .content{
- position: absolute;
- top: 50%;
- /* bring your own prefixes */
- transform: translatey(-50%);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement