#aligning contents

7 messages · Page 1 of 1 (latest)

gloomy sand
#

Hi I am trying to align stars content and author name but because my 3 card div text is more than other card dive i can t align it proprly you can see the problem in below picture

mild burrow
#

Are you using flexbox? I'm thinking you'd have to use 2 containers within your card. One for stars + text, one for author name (or other way around), using space between on the card, and flex-start/flex-end on the two smaller containers.
Perhaps display grid would be a better choice, 3 rows and 3 columns.

gloomy sand
#

I have 5 divs 1 st one continer blue big card .2nd one for each card for 3 cards and inside a card 3 divs 1 for star 1 for content and 1 for Customer name

#

when i am trying to align third one its reflecting on other cards too

rotund sable
urban kite
#

It's not what you where asking about. But I would reconsider using center alignment on the paragraphs. It's not recommended as it makes them hard to read and looking unbalanced.

gloomy sand
#

@rotund sable very much thank brother