Skip to content

Modificador tamanho fundo

Vitor Brandão edited this page May 9, 2023 · 1 revision

O modificador FolEs tamanho-fundo define o tamanho da imagem de fundo do elemento. A imagem pode ser deixada em seu tamanho natural, esticado ou restrito para caber no espaço disponível.

Sintaxe

/* Valores de tamanho absoluto */
tamanho-fundo: alargar;
tamanho-fundo: diminuir;
tamanho-fundo: auto;

/* Valores globais */
tamanho-fundo: herdar;
tamanho-fundo: inicial;
tamanho-fundo: reverter;
tamanho-fundo: reverter-camada;
tamanho-fundo: desarmar;

Tradução para CSS

tamanho-fundo é traduzido para background-size.

Clone this wiki locally