@ima9gh
Posted
This comment was deleted
@rvupmo33
Posted
Hi! @ima9gh
If the ul took the left margin what you can do is
- place the ul in a div and set the divs width
- use
margin: 0 auto
to center the div
heres how i did it:
.links{
width: 305px;
margin: 0 auto;
}
.links ul{
display: flex;
flex-direction: column;
gap: 16px;
}
I'm still a beginner myself so the code may not be perfect.
Hope that helped! (you can view my code using the 'view code' button)