The Ramen Dutchman

Programmer by day, burnt out by night.

  • 3 Posts
  • 2.09K Comments
Joined 2 years ago
cake
Cake day: July 22nd, 2023

help-circle









  • 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.