Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement "align-content stretch" in tailwind css

Tags:

tailwind-css

I'm learning and trying to use tailwind css but didn't find equivalent to align-content: stretch on https://tailwindcss.com/docs/align-content

Is this missing purposely or tailwind doesn't support all the things from plain CSS ?

like image 633
vikramvi Avatar asked Feb 14 '26 23:02

vikramvi


1 Answers

This is because stretch is actually default behovior in CSS, so it makes no sense to use it I think.

Source #1 or Source #2

stretch (default): lines stretch to take up the remaining space

like image 58
chojnicki Avatar answered Feb 17 '26 23:02

chojnicki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!