Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- body{
- background:black;
- }
- </style>
- <h2>Titulo</h2>
- <ul class="galeria">
- <li><div style="position:relative;width:100px; height:100px; background:yellow;"</div></li>
- <li><div style="position:relative;width:100px; height:320px; background:yellow;"</div></li>
- <li><div style="position:relative;width:100px; height:100px; background:yellow;"</div></li>
- <li><div style="position:relative;width:100px; height:100px; background:yellow;"</div></li>
- <li><div style="position:relative;width:100px; height:100px; background:yellow;"</div></li>
- </ul>
- <style>
- .galeria {
- padding-right: 1em;
- text-align: center;
- }
- .galeria li {
- padding-left: 0.1em;
- padding-right: 0.1em;
- box-sizing: border-box;
- display: inline-block;
- width: 20%;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement