Tap

Class
Properties
tap-<color>
-webkit-tap-highlight-color: <value>;

NOTE

The tap color is transparent by default, when using Tailwind CSS.

Usage

Single import

// tailwind.config.js
 
import { tap } from "tailwindcss-addons"
 
export default {
    plugins: [tap],
}

Multi import

// tailwind.config.js
 
import { allAddons } from "tailwindcss-addons"
 
export default {
    plugins: [
        ...allAddons({
            tap: false, // Enabled by default.
        }),
    ],
}
Return to top