Last active
July 12, 2018 17:36
-
-
Save rodolfoghi/31b1f7a1c5ac2e9531f184c0b44119b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Código omitido --> | |
<style> | |
#palco { | |
/* Nosso palco ocupará 80% da largura e 80% da altura da tela. */ | |
width: 80%; | |
height: 80vh; | |
/* Define a imagem a ser utilizada como pano de fundo. */ | |
background-image: url('floresta.png'); | |
/* A imagem deve cobrir a div inteira, tanto em altura como em largura. */ | |
background-size: cover; | |
background-repeat: no-repeat; | |
/* Margens superior e inferior zero e direita e esquerda automática, para que fique centralizado. */ | |
margin: 0 auto; | |
} | |
</style> | |
<!-- Código omitido --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment