Hi I am using IE 11 and am having an issue with the background-size:cover property. Now before you say this question has already been asked and answered. I have looked through all of those solutions and they do not solve it. I am using a bootstrap .well
I have tried <meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1"/>
as well as <meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1"/>
and finally this is my current css that should solve the issue. It works in every browser besides IE. I am using IE 11
CSS:
#well1 {
margin-top:600px;
background: url('/images/arch-grey.svg') center;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-color: rgb(114, 127, 139);
z-index: 1;
}
HTML:
<div class="well" id="well1">
<h3></h3>
<h1>Forms</h1>
<h2></h2>
<p>Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas. Vestibulum tortor quam,
feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu
libero sit amet quam egestas semper. Aenean ultricies mi vitae
est. Mauris placerat eleifend leo.</p>
<a
th:href="@{/forms/}"
class="arrow">Go to Forms</a>
</div>