Here is my HTML code for the divs (parent/child):
<div id="header">
<div id="elements">
<img style="margin: auto" class="img-responsive" src="https://s20.postimg.org/59ntjyiot/Arvan_Tourism_Logo_Web.png" alt="ArvanTourismLogo.png">
<p style="font-size: 2.5em; color: white">Arvan Tourism</p>
<p style="font-size: 1.5em; color: white">Explore our wonderful Albania.</p>
<button id="WhatWeOfferButton" class="btn btn-success" style="margin-top: 5px"> What do we offer? </button>
</div>
</div>
Here is my CSS code:
#header {
box-sizing: border-box;
background-image: url("https://s20.postimg.org/o8ddqmo7x/Blue_Eye.jpg");
background-size: cover;
background-position: center;
width: 100%;
height: 100%;
display: table;
}
#elements {
display: table-cell;
text-align: center;
vertical-align: middle;
}
Here are screenshots of how it looks on mobile.
What tweaks should I perform so that I can prevent it from being taller on landscape mode? I am using Bootstrap framework.