I recently purchased a bootstrap theme that I am attempting to apply to my MVC3 Web App project.
I am having problems getting a background image in social-icons.css to render.
In _Layout.cshtml i have referenced:
link href="@Url.Content("~/Content/social-icons.css")" rel="stylesheet" type="text/css"
in the header.
Within social-icons.css:
[class^="social-"],
[class*="social-"] {
display: inline-block;
width: 40px;
height: 40px;
margin-right: .3em;
line-height: 40px;
vertical-align: text-top;
background-image: url("img/icons/social-icon-set.png");
background-position: 40px 40px;
background-repeat: no-repeat;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
-webkit-border-radius: 50em;
-moz-border-radius: 50em;
border-radius: 50em;
}
I have checked both the paths of social-icons.css and social-icons-set.png and everything appears on the up and up.
I checked the Q&A here and this did not help me. CSS background images in MVC3
Would like to apologize in advance for any unclear information.
