Exercício 1
body {
height: 100vh;
}
Exercício 2
body {
height: 100vh;
box-sizing: border-box;
padding: 5px;
}
Exercício 3/4
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #000;
color: #fff;
font-family: "Poppins", sans-serif;
}
.container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
width: 90%;
max-width: 1400px;
}
.texto {
max-width: 600px;
font-size: 1.1rem;
line-height: 1.5;
color: #fff;
text-align: center;
}
.imagem {
max-width: 900px;
width: 100%;
height: auto;
border-radius: 8px;
margin-left: 40px;
}
Exercício 5
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<title>Livros</title>
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<div class="container">
<div>Fantasia</div>
<div>Romance</div>
<div>Poesia</div>
<div>autoajuda</div>
</div>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #b7e5e1;
color: #000000;
font-family: "Poppins", sans-serif;
}
.container {
display: flex;
align-items: center;
height: 300px;
gap: 20px;
font-size: 30px;
font-weight: 500;
}
Exercício 6
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<title>Feira</title>
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<div class="responsivo-container">
<div>Maçã</div>
<div>Limão</div>
<div>Mamão</div>
<div>Mexerica</div>
<div>Carambola</div>
</div>
</body>
</html>
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #eea75b;
color: #000000;
font-family: "Poppins", sans-serif;
}
.responsivo-container {
display: flex;
flex-direction: row;
gap: 20px;
font-size: 39px;
font-weight: 700;
}