If you run this code you will get a page that has no margins or padding and continent are everywhere. Whatever I do it does not affect the layout of the page.
what I want is a header with different colour to the main body which managed to achieve.
The Right circle will take you-to the index.html, but positioning are off so are the the three columns.
the codes are below, could you pleae assist me in understanding this part please?
Thank you
WelcomeI aspire to become
Frontend engineer
Coding like poetry should be short and concise.
Clean code always looks like it was written by someone who cares.
<section class="row">
<blockquote class="column">
<p class="mb-0">Of course, bad code can be cleaned up</p>
</blockquote>
</section>
<footer>
<p>Emil: [email protected]</p>
</footer>
</body>
CSS
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body html{
font-family: sans-serif;
background-color: rgba(182, 198, 205, 0.5);
max-width: 1000px;
background-size: cover;
}
#banner{
background-color: rgb(46, 43, 64, 0.8);
height: 100px;
width: 100%;
}
.fa-3x{
color: rgb(244, 110, 86);
padding-left: 50%;
}
.fa {
color: tomato;
padding-left: 15px;
padding-top: 15px;
}
h1{
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-weight: bolder;
padding: 20px 30px;
margin: 100px;
border: 3px tomato dashed;
width: 600px;
margin: 30px auto;
border-radius: 30px;
font-size: 50px;
color: tomato;
box-shadow: 12px;
animation-duration: 8s;
animation-name: slidein;
animation-iteration-count: 1;
background-color: olive;
}
@keyframes slidein {
0%{
margin-left: 0%;
}
50% {
margin-left: 120px;
}
100% {
margin-left: 0%;
}
}
.column{
float: left;
flex: 33.33%;
height: 200px;
padding: 10px;
margin: 30px;
background-color: rgb(46, 43, 64, 0.8);
text-align: center;
font-size: medium;
border-radius: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
footer{
padding-top: 490px;
text-align: center;
}
.mb-0{
color: aliceblue;
}