Check out example codes for "tailwindcss init full". It will help you in understanding the concepts better.

Code Example 1

//Scaffolding the entire default configuration

//This will full tailwind.config.js file at the root of your project:

npx tailwindcss init -- full

Code Example 2

module.exports = {
    theme: {
        // ....
        extend: {
            height: {
                sm: '20rem'
            }
        }
        // ...
    }
}

// Generates h-sm with 20rem height

Learn ReactJs, React Native from akashmittal.com