Clear stylesheet:
Code: Select all
.banner{
width: 100%;
min-height: 300px;
background: #ffd599 url(images/header.png) center center;
background-repeat:no-repeat;
background-size:100%;
background-position:center;
display: inline-flex;
flex-flow: wrap row;
justify-content: center;
}
Code: Select all
.banner{
width: 100%;
min-height: 300px;
background: #ffd599 url(images/header.png) center center;
background-repeat:no-repeat;
background-size:100%;
background-position:center;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-flex-flow: wrap row;
-ms-flex-flow: wrap row;
flex-flow: wrap row;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
Also, you may find helpful http://caniuse.com/ and http://www.doiuse.com/.