


Here is a complete table of the provided form-* classes for reference: BaseĪlthough we recommend thinking of this plugin as a "form reset" rather than a collection of form component styles, in some cases our default approach may be too heavy-handed, especially when integrating this plugin into existing projects. For example, by default, TailwindCSS's margin classes have holes in them. Find out the best CDN to use with tailwindcss-stimulus-components or use multiple CDN as fallback. You can support our work by buying one of our paid products. 1 CDN to use with TAILWINDCSS-STIMULUS-COMPONENTS.
TAILWINDCSS UNPKG FREE
We spend a lot of time working on our free developer services or open source packages.
TAILWINDCSS UNPKG PLUS
RunCSS provides all the same utility CSS class names that TailwindCSS does plus many more. You can learn all about this package in our in-depth blog post. Find out the best CDN to use with tailwindcss 2.1.2 or use multiple CDN as fallback. This is a necessary trade-off to avoid relying on the overly greedy input selector and unintentionally styling elements we don't have solutions for yet, like input for example.Įvery element has been normalized/reset to a simple visually consistent style that is easy to customize with utilities, even elements like or that normally need to be reset with appearance: none and customized using custom CSS: Going Beyond TailwindCSS Because RunCSS doesn't have build-time constraints it can easily go beyond TailwindCSS and it does. Here is what I achieved: Here is my Code: < - NavBar. Note that for text inputs, you must add the type="text" attribute for these styles to take effect. I'm trying to create a Fixed Navigation Bar in Tailwind CSS and sticky scroll main page, but no matter what I try, I can't make it work. exports = Basic usageĪll of the basic form elements you use will now have some simple default styles that are easy to override with utilities.Ĭurrently we add basic utility-friendly form styles for the following form element types: A utility-first CSS framework for rapidly building custom user interfaces.
