Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text p {
- position: relative;
- top: 50%;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
- }
- section {
- display: block;
- max-width: 500px;
- background: #000A29;
- margin: 0 auto 1em;
- height: 300px;
- border-radius: .5em;
- color: white;
- opacity: 0.8;
- img, p {
- padding: 1em;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement