• The Ramen Dutchman@ttrpg.network
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    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.