@Hassiai
Posted
To center the main on the page using flexbox, replace the height in .container with min-height: 100vh. There is no need to give .container a width value.
USING FLEXBOX:
.container{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
For the color of the image. Give .imagem a background-color of soft violet, and the img a width and height of 100%, mix-blend-mode: multiply, object-fit: cover and opacity: 0.8.
.imagem{
background-color: hsl();
}
img{
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
opacity: 0.8;
}
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
You forgot to add a media query for the mobile design. For more on media queries, click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful