-1
I’m in visual studio working on ASP.NET-MVC and I have a bootstrap template for my website. I wanted to add a blurred background image to my login page.
I put this code in the css file:
bg.wallpaper {
background-image: url(<<adicionei o URL todo>>\Test1.png);
filter: blur(8px);
-webkit-filter: blur(8px);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
Then I did <div class="bg.wallpaper"></div>
on the html page.
However there was no difference of any kind.
There is something in the template that is preventing me from making the changes?
Classes in the element must be separated and no point:
<div class="bg wallpaper"></div>
. And in CSS missed the point in "bg":.bg.wallpaper {
– Sam