Marcos Travaglini• 4,920
@Blackpachamame
Posted
Greetings!
- To solve these problems, you can start by using
max-width
andmin-height
instead ofwidth
andheight
, since this way the content is expanded or reduced if necessary. - The problem with the media query is that you defined the measurements wrong, you should assign it to 815px instead of 375px. I also advise that for media queries you do not define it in
px
but inrem
- Your
<div class="attribution">
should be<footer class="attribution">
- You don't need
position
to center the content, you can use the following in yourbody
:
body {
background-color: hsl(221, 100%, 96%);
font-family: 'Hanken Grotesk', sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 20px;
}
- With these changes your
<div class="border">
should be your<main class="border">
and your oldmain
should be deleted since it is of no use
0
Skalex Stuch• 210
@mussino
Posted
Thank so much I will check on this!!!@Blackpachamame
0