Skip to content
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

vamo turma #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions exercicio1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS I - Prática Guiada 1</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
Expand All @@ -14,12 +15,12 @@ <h1 id="titulo-importante">Este é o título principal da página</h1>
</header>
<main>
<h2 class="sub-titulo">Este é o subtítulo, que guarda as seções</h2>
<section>
<h3 class="titulo-secao">Este é o título da seção</h3>
<section class="titulo-secao">
<h3>Este é o título da seção</h3>
<p class="texto-generico">Este é o conteúdo da seção</p>
</section>
<section>
<h4 class="titulo-secao">Este é o título da seção</h4>
<section class="titulo-secao">
<h4 >Este é o título da seção</h4>
<span class="texto-generico">Este é o conteúdo da seção</span>
</section>
</main>
Expand Down
25 changes: 25 additions & 0 deletions exercicio1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#titulo-importante{
background-color:blue;

}

.sub-titulo{

background-color: yellow;

}

.titulo-secao{

background-color:green;

}

.titulo-pouco-importante{

background-color:black;
color: white;
font-weight: bold;


}
3 changes: 2 additions & 1 deletion exercicio2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> CSS I - Prática Guiada 2</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
Expand All @@ -18,7 +19,7 @@

<span class="bordado">Quero ter uma borda legal, preta com um pixel de largura</span>

<span class="sumido">Quero ficar invisível!</span>
<span class="sumido">Quero ficar invisível!</span>
</body>

</html>
10 changes: 9 additions & 1 deletion exercicio2/style.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
.longe-bordas{
background-color: #FFA6A9;
padding:10px;

}

.afastado{
background-color: #77C0ED;
margin-left: 400px;
}
.alto{
background-color: #C3E887;
height: 300px;
}

.largo{
background-color: #FFE396;
width: 500px;

}

.bordado{
background-color: #AF9BCC;
border: #FFE396 solid 10px;
}

.sumido{

color:white ;

}
1 change: 1 addition & 0 deletions exercicio3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS I - Prática Guiada 3</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
Expand Down
12 changes: 8 additions & 4 deletions exercicio3/style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
*{
padding: 0;
margin: 0;
font-family: Arial, Helvetica, sans-serif;

}
header{

main{
width:800px;
}

section{
float: left;
/*float é uma propriedade que permite deixar elementos à direita ou à esquerda da tela. Não costuma ser usado. Aqui, é usado apenas para ilustrar diferenças.*/
width: 840px;
width: 60vw;
padding: 40px;


}

aside{
float:right;
/*float é uma propriedade que permite deixar elementos à direita ou à esquerda da tela. Não costuma ser usado. Aqui, é usado apenas para ilustrar diferenças.*/
padding: 20px;
width: 340px;
width: 50%;
}

article{
Expand Down