Adjusts a rounded corner to create a continuous curve. Inspired by Rob.
Install the plugin from npm:
npm install tailwind-corner-smoothing --save-dev
v4
// Global.css / App.css
@plugin "tailwind-corner-smoothing";
v3
// tailwind.config.js
module.exports = {
plugins: [require('tailwind-corner-smoothing')],
};
<div class="smooth-corners-md bg-blue-500">Smooth corners!</div>
MIT
3,240 followers · starred Jan 2025
712 followers · starred Jan 2025
216 followers · starred Jan 2025
419 followers · starred Jan 2025
Adjusts a rounded corner to create a continuous curve. Inspired by Rob.
Install the plugin from npm:
npm install tailwind-corner-smoothing --save-dev
v4
// Global.css / App.css
@plugin "tailwind-corner-smoothing";
v3
// tailwind.config.js
module.exports = {
plugins: [require('tailwind-corner-smoothing')],
};
<div class="smooth-corners-md bg-blue-500">Smooth corners!</div>
MIT
3,240 followers · starred Jan 2025
712 followers · starred Jan 2025
216 followers · starred Jan 2025
419 followers · starred Jan 2025