-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Html, Css #19
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Html:
<title>Treinando Seletores</title>!DOCTYPE html>
Controle de Alimentos
© 2024 - Saúde e Bem-estar
CSS:
/* Estilo Geral da Página */
body{
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1{
font-size: 2.5em;
margin-bottom: 10px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
}
nav li{
display: inline-block;
margin-right: 20px;
}
nav a{
color: #fff;
text-decoration: none;
font-weight: bold;
}
/* Estilos para seções*/
main{
padding: 20px;
}
section{
margin-bottom: 30px;
}
h2{
font-size: 1.8em;
margin-bottom: 15px;
}
p{
text-align: justify;
}
img{
width: 250px;
height: 250px;
object-fit: cover; /* Ajuste proporcional da imagem*/
margin-bottom: 10px;
}
/* Estilo para o rodapé*/
footer{
text-align: center;
padding: 10px;
background-color: #ddd;
The text was updated successfully, but these errors were encountered: