Tailwindcss plugin that provides utilities for creating inner borders.
npm install @quibble-dev/tailwindcss-inner-borderTailwindcss plugin that provides utilities for creating inner borders.
Install the plugin from npm:
``sh`
npm install -D @quibble-dev/tailwindcss-inner-border
Then add the plugin to your tailwind.config.js file:
`js`
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require('@quibble-dev/tailwindcss-inner-border'),
// ...
],
};
Use the inner-border-{n} utilities to set the inner border width for all sides of an element:
`html`
Control the inner border color of an element using the inner-border-{color} utilities:
`html`
Variants and color opacity modifiers may also be used:
`html``