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

resolucao-css-I-template #12

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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
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
22 changes: 22 additions & 0 deletions exercicio1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#titulo-importante{
background-color: blue;
color: white;
}
.sub-titulo{
background-color: darkgoldenrod;
color: black;

}
section{
background-color: green;
color: black

}
.titulo-secao {

color:black;
}
.titulo-poco-importante {
background-color: black;
color: white;
}
13 changes: 13 additions & 0 deletions exercicio2/style.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
.longe-bordas{
background-color: #FFA6A9;
display: block;
margin: 100px;

}

.afastado{
background-color: #77C0ED;
margin: 50px 0;
display: block;
color: black;
}
.alto{
background-color: #C3E887;
height: 300px;
color: black;
}

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

.bordado{
background-color: #AF9BCC;
border: 2px solid 5px black;
}

.sumido{
display: none;

}
2 changes: 2 additions & 0 deletions exercicio3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS - prática guiada 3</title>
<link rel="stylesheet" href="style.css">


</head>

<body>
Expand Down
14 changes: 10 additions & 4 deletions exercicio3/style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
*{
padding: 0;
margin: 0;
color:chocolate;
box-sizing: border-box;
}
header{
color: chocolate;

}
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;
padding: 40px;
width: 65.6vw;
padding: 3.1vw;
}

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;
padding: 1.5vw;
width: 26.5vw;
}

article{
Expand Down
42 changes: 42 additions & 0 deletions fixacao/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
header{
height: 10vh;
padding: 15px 10px;
background-color: orange;
color: white;
border: bottom 1px;

}
footer{
height: 10vh;
padding: 10px 10px;
background-color: black;
color: white;
}
main{
margin: 15px 15px;
padding: 20px 30px;
height: 110vh;
width: 90vw;
background-color: darkolivegreen;
}
article{
margin: 15px 0px;
}
.destaque{
color: orange;
}
h1 {

font-family: Arial;
}
h2{
font-family: Arial;
}
.p{
font-family: Helvetica;
}
body{
background-color: blueviolet;


}