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
1 change: 1 addition & 0 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 - prática guiada 1</title>
<link rel="stylesheet" href="./style.css">
</head>

<body>
Expand Down
23 changes: 23 additions & 0 deletions exercicio1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*tag < classes < id*/

#titulo-importante{
background-color: blue;
color: white
}

h1, section{
background-color: green;
}

.sub-titulo{
background-color: yellow;
}

.titulo-secao{
color: white
}

.titulo-pouco-importante{
color: white;
background-color: black;
}
14 changes: 13 additions & 1 deletion exercicio2/style.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
.longe-bordas{
background-color: #FFA6A9;
margin: 20px 0px 20px 20px;
}

.afastado{
background-color: #77C0ED;
margin: 50px;
display: block;
}

.alto{
background-color: #C3E887;
height: 300px;

}

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

.bordado{
background-color: #AF9BCC;
border: solid black 1px;
/* border-style: aparece os estilos de borda
border-radius: deixa os cantos arredondados
margin: 20px;
padding: 20px;*/
}

.sumido{

display: none;
}
18 changes: 14 additions & 4 deletions exercicio3/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,27 @@ header{
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;
padding: 40px;
width: 70%;
background-color: blue;
/*padding: 40px;*/
}

aside{
float:right;
background-color: yellow;
/*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;
/*padding: 20px;*/
width: 30%;
}

article{
margin: 10px 0;
}

main{
font-family: helvetica;
}

body{
background-color: blueviolet;
}
39 changes: 39 additions & 0 deletions fixacao/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*1*/
header{
height: 40px;
padding: 10px;
background-color: orange;
color: white;
border-bottom: solid black 1px;
/*5*/font-family: arial;
}

footer{
height: 40px;
padding: 10px;
background-color: black;
color: white;
}
/*3*/
main{
margin: 15px;
padding: 20px 30px;
/*padding: 20px 30px 20 px 30px pode ser das duas formas*/
height: 80vh;
width: 90vw;
}

/*4*/
article{
margin: 25px 0px;
}

/*5*/
p{
font-family: helvetica;
}

/*6*/
.destaque{
color: orange;
}