ailight360• 70
@ailight360
Posted
By Changing this simple line of code spacing looks so much better
instead of this
height: 100%;
width: 350px;
background: linear-gradient(to bottom, hsl(252, 100%, 67%), hsl(241, 81%, 54%));
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: hsl(0, 0%, 100%);
border-radius: 30px;
}```
add this line of code
```section > div:first-child {
height: 100%;
width: 350px;
background: linear-gradient(to bottom, hsl(252, 100%, 67%), hsl(241, 81%, 54%));
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
text-align: center;
color: hsl(0, 0%, 100%);
border-radius: 30px;
}```
1