I am making a website for my final project and right now working on final touches. I wrote it using bootstrap and used the grid : .col-sm Now I am making sure it looks the same at all screen resolution.
I entered the site via my LG4 and this was the view:
but when view site on my PC using chrome mobile resolution it appears more similar to the way I want:
This is the css:
#index-wrap{
background: url('pic/start.jpg') ;
margin-bottom: 0;
min-height: 50%;
background-repeat: no-repeat;
background-position: center center;
-webkit-background-size: cover;
background-size: cover;
/*now:*/
background-attachment: fixed;
}
.jumbotron {
background-color: transparent;
color: #0E76BD;
text-align: center;
height: 100vh;
}
And these are the dives hierarchy:
<div id="index-wrap">
<div class="jumbotron">
-----Site Content ------
</div>
</div>
How I fix this?