by joe.pesch
30. August 2015 15:13
When using Font Awesome with bundling and optimization you need to add the CssRewriteUrlTransform() to the font awesome bundle (as shown below).
BundleTable.EnableOptimizations = true;
bundles.Add(new StyleBundle("~/bundles/css/font-awesome").Include(
"~/css/font-awesome.min.css", new CssRewriteUrlTransform()
));
3017e8b6-3705-4842-8143-2fdea39e3c37|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS
by joe.pesch
30. August 2015 12:03
div.carousel-wrapper{
width: 80%; /* for example */
margin: auto;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img{
width: 100%; /* use this, or not */
margin: auto;
}
a08be03b-3242-4e9d-953d-8f260baf8325|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS | Bootstrap
by joe.pesch
30. August 2015 12:03
div.carousel-wrapper{
width: 80%; /* for example */
margin: auto;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img{
width: 100%; /* use this, or not */
margin: auto;
}
25803c8f-2c86-4b19-bbd1-230df791d126|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS
by joe.pesch
18. May 2011 08:31
bab596a7-e142-41a9-a73e-554031f311bf|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS | HTML | JavaScript