← Back to context

Comment by Izkata

4 days ago

And on the second one, you could use any other unit instead of fr for the image to set its width consistently, then fr on the text to have it use up whatever remains.

I also wasn't understanding the value looking at the first two examples, but the pricing packages example I do think I would struggle to implement in a clean way using traditional css.

  • I'd use <table>. It literally is a table. And for mobile just do a media query to turn it into a flexbox.