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

Exercício Resolvido #27

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
73 changes: 34 additions & 39 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,41 +1,36 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Exercício CSS I</title>
</head>

<body>
<main>
<section>

<article class="bloco" id="bloco-1">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article>
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article>
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article>
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

</section>
</main>

</body>

</html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Exercício CSS I</title>
</head>

<body>
<main>
<section>
<article class="bloco" id="bloco-1">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article class="bloco" id="bloco-2">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article class="bloco" id="bloco-3">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

<article class="bloco" id="bloco-4">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>
</section>
</main>
</body>
</html>
31 changes: 31 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
main {
font-family: Helvetica;
}
.bloco {
margin: 10px;
padding: 0px 5px 5px;
width: 270px;
display: block;
color: white;
}

#bloco-1 {
line-height: 0;
background-color: orange;
border: solid rgb(205, 142, 24) 6px;
}
#bloco-2 {
line-height: 0;
background-color: rgb(12, 209, 42);
border: solid rgb(112, 181, 8) 6px;
}
#bloco-3 {
line-height: 0;
background-color: rgb(6, 58, 6);
border: dashed rgb(8, 181, 42) 6px;
}
#bloco-4 {
line-height: 0;
background-color: rgb(203, 13, 13);
border: dashed rgb(237, 96, 96) 6px;
}