Answers for "how to use tailwind css"

1

tailwind css npm

# Using npm
npm install tailwindcss

# Using Yarn
yarn add tailwindcss
Posted by: Guest on September-14-2020
0

how to install tailwind css in html

<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
Posted by: Guest on July-05-2021
0

add tailwind full

npx tailwindcss init --full
Posted by: Guest on January-27-2021
0

adding css in tailwind css

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .scroll-snap-none {
    scroll-snap-type: none;
  }
  .scroll-snap-x {
    scroll-snap-type: x;
  }
  .scroll-snap-y {
    scroll-snap-type: y;
  }
}
Posted by: Guest on October-25-2021

Browse Popular Code Answers by Language