Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

nav, figure and button: why wouldn't flex cut it?


because they nearly always might have two dimensions.

Good question. Think of a price button (to choose yearly payment, instead of monthly).

----

$299/year upfront *

Less than $25 a month

cancel anytime

----

* The symbol would be smaller, the number bigger, lined up in a horizontal row.


I would use: `flex-direction: row`. And use wrap the number and asterisk in a `span` and style them as needed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: