Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

tailwindcss class order

<!-- Before -->
<button class="text-white px-4 sm:px-8 py-2 sm:py-3 bg-sky-700 hover:bg-sky-800">...</button>

<!-- After -->
<button class="bg-sky-700 px-4 py-2 text-white hover:bg-sky-800 sm:px-8 sm:py-3">...</button>
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #tailwindcss #class #order
ADD COMMENT
Topic
Name
5+7 =