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

Atividade realizada com sucesso #24

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
}
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ <h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>

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

<article>
<article class="bloco" id="bloco-4">
<h1>Eu sou um bloco com estilo!</h1>
<p>O CSS me deixou nos trinques</p>
</article>
Expand Down
28 changes: 28 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
article{
margin: 5px ;
padding: 0px 8px;
height: 70px;
width: 40vw;
font-size: 14px;
color: white;
font-family: helvetica;
text-align: center;
}

#bloco-1{
border: 5px solid rgb(238, 148, 84);
background-color: rgb(216, 118, 5);
}
#bloco-2{
border: 5px solid rgb(62, 145, 62);
background-color: rgb(60, 99, 60);
}
#bloco-3{
border: 5px dashed rgb(70, 182, 70);
background-color: rgb(5, 46, 5);
}
#bloco-4{
border: 5px dashed rgb(235, 115, 115);
background-color: rgb(226, 59, 17);
}