How to manipulate image loaded by background: url();

Asked

Viewed 291 times

0

I loaded an img that got too big, right through the css style sheet, how to decrease it, because it appears only a piece.

2 answers

0


Use the background-size: TAMANHO_AQUI; Change TAMANHO_AQUI to the size you want. But this is not advisable, and yes, your image be optimized already in some image editing program, for the size you want, put this affects the performance of your website.

  • Thanks, man I’ll remember this tip.

0

  • Thanks, bro solved my problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.