Para definir a cor de fundo para uma página utilizando os comandos das Folhas de Estilo basta definir no BODY o comando 'background-color' seguido da referência á cor que se pretende utilizar.
background-image Esta propriedade é utilizada para inserir imagens como plano de fundo de um elemento. Para isso, fazemos uso da função url(), para a qual passamos como parâmetro o caminho da imagem a ser inserida.
Agora vamos falar do posicionamento do plano de fundo, para isso usamos a propriedade background-position....
Propriedade | Descrição | Valores |
---|---|---|
background-color | Configura a cor do plano de fundo de um elemento. | color-rgb, color-hex, color-name, transparent |
background-image | Configura uma imagem como plano de fundo. | url, none |
A propriedade CSS background-color define a cor de fundo de um elemento.
The background-color property is specified as a single value. The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible through any transparency in the image.
Modify the JavaScript property document.body.style.background. Note: this does depend a bit on how your page is put together, for example if you're using a DIV container with a different background colour you will need to modify the background colour of that instead of the document body.
The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible through any transparency in the image.
To do so, double-click the yellow app with the letters Ai, then click File in the menu bar at the top of the screen and Open…. Select the file in which you want to change the background color and click Open. 2 Click File in the menu bar.
Quando nos afastamos do que nos faz mal?
Como gerar insights a partir de dados?
Como alfabetizar dentro de casa?
Qual a melhor carne para fazer churrasco grego?
Como emitir Gnre para Espírito Santo?
Como plantar sementes de Ipomoea?
O que é o bloco inicial de alfabetização?
Como ganhar dinheiro com pedras preciosas?
Tem como jogar com mouse e teclado no Xbox One?
Por que o governo não investe em educação?
Qual o papel da fisioterapia no câncer de mama?
Como o governo pode financiar o seu déficit público?
Qual o impacto do desmatamento no ciclo do carbono na floresta amazônica?
Qual foi a política econômica adotada por Vargas?
Como o governo brasileiro passou a atuar para resolver esses?