I've seen multiple threads explaining what I need to do and one of them has worked, the problem i now face is that it doesnt work on a selection of browsers. Can someone assist me please?
The container-fluid has a fullscreen background, with the header tag sitting inside which i would like to be horizontally and vertically aligned to the center.
HTML
<div class="container-fluid text-center">
<header role="banner" id="banner" >
<h1>sample</h1>
<h2>text</h2>
<h3>bootstrap</h3>
</header>
</div>
CSS
.container-fluid {
background-image: url(../../images/intro.jpg);
background-repeat:no-repeat;
background-attachment: scroll;
background-position: center center;
background-repeat: none;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
margin:0px;
padding:0px;
height:100%;
}
header {
position:absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
font-family: Roboto-thin ;
padding: 0px;
margin: 10px;
border-style: none;
color:#ffffff ;
}
Thanks.