tailwind options css code example
Example 1: tailwindcss init full
//Scaffolding the entire default configuration
//This will full tailwind.config.js file at the root of your project:
npx tailwindcss init -- full
Example 2: tailwind extend height
module.exports = {
theme: {
// ....
extend: {
height: {
sm: '20rem'
}
}
// ...
}
}
// Generates h-sm with 20rem height