Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="bottle">
- <div class="illu"></div>
- <div class="etiquette">
- <img src="https://via.placeholder.com/600x100" />
- </div>
- </div>
- .bottle {
- position: relative;
- background-color: pink;
- width: 40vw;
- height: 90vh;
- margin: auto;
- }
- .bottle .illu {
- background-color: blue;
- width: 50%;
- height: 90%;
- margin: auto;
- }
- .etiquette {
- position: absolute;
- border: 1px solid black;
- overflow: hidden;
- height: 100px;
- width: 600px;
- top: 130px;
- left: 140px;
- }
- .etiquette img {
- position: absolute;
- left: 00px
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement