I loaded an img that got too big, straight through the css stylesheet, how to reduce it, because it appears only a bit.
I loaded an img that got too big, straight through the css stylesheet, how to reduce it, because it appears only a bit.
Use background-size: TAMANHO_AQUI;
change the SIZE_QUALITY to the size you want. But this is not advisable, but rather, your image is optimized already in some image editing program, for the size you want, put this affects the performance of your site.
Manipulating css:
div {
background: url ('fotourl');
background-size: 25%;
border: 2px solid # 92b901;
width: 300px;
height: 200px;
}
This site teaches you various shapes and properties for background images url css: link