@mikaeljan
Posted
Regarding the stats for the card
- stats-child do not need
display flex
- on stats set
justify-content
tospace-between/space-evenly/space-around
.
Regarding the background images you have multiple images but you position only one.
try merging your background-image
with
background-position: top left, bottom right;
into
background: url(first_image.jpg) right bottom no-repeat, url(first_image.jpg) left top repeat;
And use % or pixels for more precise positioning.
Marked as helpful
@ebeeraheem
Posted
@mikaeljan Woah thanks man!
I knew about the space-
property but didn't know where or when to use it. I'll be sure to check it out.
You're awesome 💯👍
@mikaeljan
Posted
@ebeeraheem I made a mistake in my comment.
space-between/space-evenly/space-around
are values for justify-content
property not display
. so you need to set justify-content
with one of those values.
@ebeeraheem
Posted
@mikaeljan Sure thing man. Thanks.