The Ramen Dutchman

Programmer by day, burnt out by night.

  • 2 Posts
  • 2.14K Comments
Joined 2 年前
cake
Cake day: 2023年7月22日

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.