Search
 
SCRIPT & CODE EXAMPLE
 

CSS

tailwind.config.js

//global.css
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;


/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', './app/**/*.{js,ts,jsx,tsx}'],
  theme: {
    screens: {
      xs: '320px',
      sm: '375px',
      lsm: '425px',
      md: '768px',
      lg: '1024px',
      xl: '1280px',
      '2xl': '1536px',
    },
    extend: {
      colors: {
        primary: '#fa9900',
        headingColor: '#666666',
        textColor: '#999',
      },
      fontFamily: {
        primary: ['Nunito', 'sans-serif'],
      },
    },
  },
  plugins: [],
};
Comment

generate your tailwind.config.js file

npx tailwindcss-cli@latest init
Comment

Tailwind Config File

module.exports = {
  content: ['./dist/*.html'],
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}
Comment

PREVIOUS NEXT
Code Example
Css :: purge tailwind css 
Css :: li move to left 
Css :: details transition css 
Css :: hamburger icon css3 
Css :: css clearfix for floats with display table and clear both 
Css :: css background image 
Css :: animation clip path 
Css :: css counter 
Css :: button active css 
Css :: css box 
Css :: image transparent 
Css :: css contain property 
Css :: woolentor product archive not centered 
Css :: web3 button style 
Css :: css animation sin 
Css :: radio check mark color 
Css :: memebuat html dan css login instagram 
Css :: move sidebar to top on mobile 
Css :: css stopper une animation 
Css :: How to add a pure css loading spinner 
Css :: object-fit: cover; 
Css :: overflow 
Css :: css animation left to right infinite codepen 
Css :: outline 
Css :: animations css 
Css :: border-width in percentage 
Css :: svg background css 
Css :: generate css on scss save 
Css :: table td css 
Css :: css3 app basic 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =