Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- #geltonas {
- padding: 10px 0 10px;
- display: flex;
- margin: 0 auto;
- max-height: 700px;
- max-width: 700px;
- background-color: yellow;
- }
- #geltonas div {
- margin: 0 5px 0 5px;
- flex: auto;
- display: inline-block;
- height: 200px;
- width: 150px;
- border: 3px solid red
- }
- </style>
- <div id="geltonas">
- <label>1</label>
- <div>
- <p id="txt1">asdsad</p>
- </div>
- <label>2</label>
- <div>
- <p id="txt2">asdasd</p>
- </div>
- <label >3</label>
- <div>
- <p id="txt3">asdasd</p>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement