Skip to content
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
2 changes: 2 additions & 0 deletions exercicio1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS - prática guiada 1</title>
<link rel="stylesheet" href="style.css">

</head>

<body>
Expand Down
18 changes: 18 additions & 0 deletions exercicio1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
header {
background-color: blue;
}
#titulo-importante, h3, h4 {
color:white
}

h2 {
background-color: yellow;
}

section {
background-color: green;
}

footer {
background-color: black;
}
11 changes: 9 additions & 2 deletions exercicio2/style.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
.longe-bordas{
background-color: #FFA6A9;
margin: 20px;
}

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

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

.bordado{
background-color: #AF9BCC;
border: 1px dashed black;
}

.sumido{

}
display: none;


}
9 changes: 7 additions & 2 deletions exercicio3/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@
}
header{

}
main{
font-family: "Helvetica";

}

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: 42vw;
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: 17vw;
}

article{
Expand Down
33 changes: 33 additions & 0 deletions fixacao/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
header{
height: 40px;
padding: 10px;
background-color: orange;
color: white;
border-bottom: 1px solid black;
}
footer{
height: 40px;
padding: 10px;
background-color: black;
color: white;
}
main{
margin:15px;
padding: 20px 30px;
width: 90vw;
height: 80vw;
}
article{
margin: 25px 0;
}
h2{
font-family: "Arial";
}
p{
font-family: "Helvetica";
}
.destaque{
color: orange;

}