My brother in Christ TailwindCSS just gives classes that let you do inline styling in a shorter syntax! (and theme configuration, but mostly inline styling)
Replace width: ...px with w-..., margin-left: ... with ml-... and margin-right: ... with mr-....
Setting both horizontal margins is mx-... and both vertical margins is my-....
If you can do inline styling, TW just makes the syntax a bit shorter, but that’s it, really.
My brother in Christ TailwindCSS just gives classes that let you do inline styling in a shorter syntax! (and theme configuration, but mostly inline styling)
Replace
width: ...px
withw-...
,margin-left: ...
withml-...
andmargin-right: ...
withmr-...
. Setting both horizontal margins ismx-...
and both vertical margins ismy-...
.If you can do inline styling, TW just makes the syntax a bit shorter, but that’s it, really.