Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang=en>
- <head>
- <title>Bootstrap</title>
- <meta charset=utf-8>
- <meta name="viewport" content="width=device-width">
- <style>
- .container { margin:auto;width:1200px;display:block; }
- img { width:200px;height:200px;border-radius:50%;border:5px solid red;
- padding:5px; }
- .d1 { display:inline-block;width:400px;float:left;
- text-align:center; }
- </style>
- </head>
- <body>
- <span class='container'>
- <div class='d1'>
- <h1>Coffee Shop</h1>
- <img src='https://images.pexels.com/photos/2159065/pexels-photo-2159065.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'/>
- <h1>Some text</h1>
- </div>
- <div class='d1'>
- <h1>Housing</h1>
- <img src='https://images.pexels.com/photos/145665/pexels-photo-145665.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'/>
- <h1>Some text</h1>
- </div>
- <div class='d1'>
- <h1>Friends</h1>
- <img src='https://images.pexels.com/photos/1655329/pexels-photo-1655329.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260'/>
- <h1>Food</h1>
- </div>
- </span>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement