Search
 
SCRIPT & CODE EXAMPLE
 

CSS

tailwindcss cli with custom config file name

npx tailwindcss init tailwindcss-config.js

npx tailwindcss -c ./tailwindcss-config.js -i input.css -o output.css
Comment

tailwind custom config file

module.exports = {
  content: ['./src/**/*.{html,js}'],
  theme: {
    colors: {
      'blue': '#1fb6ff',
      'purple': '#7e5bef',
      'pink': '#ff49db',
      'orange': '#ff7849',
      'green': '#13ce66',
      'yellow': '#ffc82c',
      'gray-dark': '#273444',
      'gray': '#8492a6',
      'gray-light': '#d3dce6',
    },
    fontFamily: {
      sans: ['Graphik', 'sans-serif'],
      serif: ['Merriweather', 'serif'],
    },
    extend: {
      spacing: {
        '8xl': '96rem',
        '9xl': '128rem',
      },
      borderRadius: {
        '4xl': '2rem',
      }
    }
  },
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to align items in css 
Css :: how to align text verticaly 
Css :: set distance between text and underline 
Css :: css select without class 
Css :: background color css rgb 
Css :: font semi bold css 
Css :: css regions 
Css :: button onclick open video in new window 
Css :: css flex gap between items 
Css :: css outline color 
Css :: coustomize srollbar 
Css :: css svg width 100% 
Css :: centering with flexbox 
Css :: How to remove horizontal scrollbar and yet allow vertical 
Css :: not hover css 
Css :: how to horizontally center in css 
Css :: z pos css 
Css :: align text in center css 
Css :: css grid auto wrap 
Css :: css padding 
Css :: how to wrap the data in table material UI 
Css :: css selector all class prefix 
Css :: why do we need hexadecimal number system 
Css :: how to center a html header 
Css :: background image blur css codepen 
Css :: remove all default styles from input 
Css :: css round element 
Css :: background blend mode 
Css :: text gradient effect 
Css :: css mobile height 100vh 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =