Skip to content

Commit

Permalink
Teste de Posição dos fundos
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigoalgt committed Nov 8, 2024
1 parent 7346df3 commit c8a5672
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions Exercicios/ex022/fundo003.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Posição dos fundos</title>
<style>
div.bloco {
background-image: url(imagens/wallpaper002\ \(1\).jpg);
height: 200px;
border: 1px solid black;
margin: 10px;
border-radius: 10px;
}

div#q1 {
background-position: left top;
}

div#q2 {
background-position: left center;
}

div#q3 {
background-position: center center;
}


</style>
</head>
<body>
<div class="bloco" id="q1">

</div>
<div class="bloco" id="q2">

</div>
<div class="bloco" id="q3">

</div>
<div class="bloco">

</div>

</body>
</html>

0 comments on commit c8a5672

Please sign in to comment.