Add CSS code: "body, html { (#27932)

pull/28259/head
Joana Barradas 2019-08-16 05:47:23 +02:00 committed by Randell Dawson
parent 731280c5a5
commit 05f52fcd02
1 changed files with 18 additions and 1 deletions

View File

@ -8,4 +8,21 @@ Este é um esboço. [Ajude nossa comunidade a expandi-lo](https://github.com/fre
[Este guia de estilo rápido ajudará a garantir que sua solicitação de recebimento seja aceita](https://github.com/freecodecamp/guides/blob/master/README.md) . [Este guia de estilo rápido ajudará a garantir que sua solicitação de recebimento seja aceita](https://github.com/freecodecamp/guides/blob/master/README.md) .
#### Mais Informações:
```CSS
body, html {
height: 100%;
}
.bg {
/* Imagem usada */
background-image: url("img.jpg");
/* Altura total da página */
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
```
#### Mais Informações:
* [W3Schools](https://www.w3schools.com/howto/howto_css_full_page.asp)