@elaineleung
Posted
Good question, Manuel, I normally use a container if there are several elements that look like they are grouped together, like what you mentioned, and I normally use a padding for the container so that when the screen is small and the container is touching the edge of the screen, the text contents won't be touching the sides. For the margins, I already have a reset on them usually of margin: 0
, so when I'm spacing them out, I would from the top element and see how much space there is to the element below, and then I'd just use margin-bottom
to space it out. Or, if the spacing looks more of less the same, I'd just use the children selector or a gap property if I'm using flex/grid.
By the way the site looks great! I think the only suggestion I have just from quickly playing around with it is, you can try making the cursor a pointer on the dropdown nav titles since the title is clickable. Great job!