Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <style>
- body {
- background-color: #585858;
- }
- .outer-wrapper {
- width: 50vw;
- min-height: 50px;
- margin: 100px auto;
- background-color: #00a8e6;
- border: 1px dashed blue;
- overflow: hidden;
- }
- .inner-wrapper {
- height: 500px;
- width: 101%;
- margin-left: -1%;
- background-color: transparent;
- }
- .container {
- display: inline-block;
- float: left;
- width: 25%;
- height: 25%;
- padding-left: 1%;
- background-color: lightslategray;
- box-sizing: border-box;
- }
- .white {
- background-color: white;
- height:100%;
- width:100%;
- }
- </style>
- </head>
- <body>
- <div class="outer-wrapper">
- <div class="inner-wrapper">
- <div class="container"><div class="white"></div></div>
- <div class="container"><div class="white"></div></div>
- <div class="container"><div class="white"></div></div>
- <div class="container"><div class="white"></div></div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement