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-exercicios #35

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
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,26 @@ <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>

</section>
</main>
<footer id="rodape">
<h2> Resolução concluida!</h2>
</footer>

</body>

Expand Down
87 changes: 87 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
*{

padding: 0;
margin: 0;
box-sizing: border-box;

}
footer{

height: 15vh;
width: 30vw;
padding: 15px 10px;
margin: 70px 0px 0px 10px;
color: white;
background-color: blue;
border: dashed 5px black;

}
body{

background-color: rgb(0, 0, 0);

}
main{

font-family: Helvetica;

}

#bloco-1{

border: solid 5px #fb8500;
background-color: #ffb703;

}

#bloco-2{

border: solid 5px rgba(7, 109, 7, 0.637);
background-color: rgb(33, 148, 33);

}

#bloco-3{

border: dashed 5px black;
background-color: rgb(26, 92, 26);

}

#bloco-4{

border: dashed 5px rgb(189, 143, 143);
background-color: red;

}

.bloco{
min-width: 50px;
min-height: 50px;
height: 15vh;
width: 30vw;
padding: 15px 10px;
margin: 10px 10px;
color: white

}