#Having a hard time getting Icon-Container to be width of its parent
12 messages · Page 1 of 1 (latest)
Try messing around with the gap css property
@hallow basin I think justify-content: space-between instead of justify-content: space-around should solve your issue
unfortunately it didnt ;/
ok
on which element/ container?
Im still having this issue and would appreciate some help.
i think it's from the max-width: 350px on the cardContainer
i fixed it! it was from the padding on cardContainer
This is a bit of a tangent, but I think I managed to avoid this problem in this exercise by setting margin: 0; on the card itself which then cascaded down to all its children, to whom I directly added margins as needed.
Is this considered a bad practice?