Skip to content

Update Tailwind CSS cheatsheet for v2+/v3+ changes#448

Open
makenna-avakian wants to merge 1 commit intoLeCoupa:masterfrom
makenna-avakian:UpdateTailwindDocs
Open

Update Tailwind CSS cheatsheet for v2+/v3+ changes#448
makenna-avakian wants to merge 1 commit intoLeCoupa:masterfrom
makenna-avakian:UpdateTailwindDocs

Conversation

@makenna-avakian
Copy link
Copy Markdown

Summary

  • Renamed outdated class names to their modern equivalents: .flex-no-wrap.flex-nowrap, .row-gap-*/.col-gap-*.gap-y-*/.gap-x-*, .font-hairline.font-thin, .font-thin.font-extralight, .whitespace-no-wrap.whitespace-nowrap
  • Removed deprecated utilities that no longer exist in Tailwind v2+: .clearfix, .scrolling-touch, .scrolling-auto, .shadow-xs, .shadow-outline
  • Added missing utilities: .flow-root, .inline-grid, .contents display types, and the new Ring utilities (ring-*, ring-offset-*) that replaced .shadow-outline

Details

The cheatsheet was based on Tailwind CSS v1.x. These changes bring the renamed/removed classes up to date with Tailwind v2+/v3+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant