4 ms·
> you're still using floats and flexbox and negative margins to position things See - floats and negative margins are one of the code smells if are used to pos
by jarek83 6y ago
> you're still using floats and flexbox and negative margins to position things
See - floats and negative margins are one of the code smells if are used to position things (yes, they have valid applications but in very limited use cases) that make me believe, that if you are still using them in 2021 then my worries about how Tailwind make dangerous shortcuts are valid.
- papertokyo 6y agoYou don't need to use them, but since they are valid ways of positioning things in CSS, Tailwind has utilities for them. They're as 'dangerous' as they are in handwritten CSS. You can get by with only using flexbox and absolute utilities and that's great. You're still using CSS...just more efficiently.