3 ms·
Ah so everything kinda inline? But how do you deal with change of layouts then? Like, sometimes I code sites where the inner structure changes a lot and that's
by manuelmoreale 3y ago
Ah so everything kinda inline? But how do you deal with change of layouts then? Like, sometimes I code sites where the inner structure changes a lot and that's trivial when paired with media queries but it would be a pain to handle if everything is inlined or tied to the markup.
- deleted 3y ago[deleted]
- c-hendricks 3y agothe Grid from Mui / joy UI, for instance, let's you set sizes for different screen witdhs via props: https://mui.com/joy-ui/react-grid/#introduction https://mui.com/joy-ui/react-grid/#introduction Since it's done with JSX/Props, it's API is a 1:1 translation to a new HTML element.