Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTML:
- <div class="container-fluid bg-1 text-center">
- <img class="img-responsive" src="https://wallpaperbrowse.com/media/images/summer_mountains_nature_lake_river_grass_93164_2560x1080.jpg" alt="Nature">
- <img class="img-responsive img-circle img-2" src="http://i.imgur.com/gcTJ6nx.jpg" alt="Dog" >
- </div>
- CSS:
- .container-fluid {
- padding-top: 70px;
- padding-bottom: 70px;
- position:relative;
- }
- .bg-1 {
- background-color: #4CB5F5;
- color: white;
- }
- .img-2 {
- display: inline;
- width: 250px;
- height: auto;
- }
Add Comment
Please, Sign In to add comment