What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-07 14:54:17
how to setup tailwind for reactjs
1. npx create-react-app . 2. npm i -D tailwindcss postcss-cli autoprefixer or npm install tailwindcss@latest postcss@latest autoprefixer@latest //postcss - transform our compile css // autoprefixer - set vendor prefixes within our css automatically whe... Add solution -
Html 2021-11-03 12:05:14
tailwind css dark mode
<div class="bg-white dark:bg-gray-800"> <h1 class="text-gray-900 dark:text-white">Dark Mode!!</h1> <p class="text-gray-600 dark:text-gray-300"> Example Text </p> </div> <scrip... Add solution -
Other 2021-10-21 15:46:19
tailwind 2 on rails 6
Step 1 # Tailwind 2 For rails 6. (currently working 2021/03/13) Step 2 # Create a new rails app Step 3 # Run the following: yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 Step 4 # Go to 'ap... Add solution