Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section {
- position: relative;
- background: url(images/passion__shape.png) top center no-repeat;
- background-size: cover;
- height: 100%;
- top: -190px;
- }
- section > img {
- position: absolute;
- left: 0;
- right: 0;
- margin: auto;
- max-height: 85%;
- width: auto;
- }
- <section>
- <img src="images/img.png">
- </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement