Home
Softono
corner-smoothing

corner-smoothing

Open source MIT TypeScript
678
Stars
6
Forks
6
Issues
1
Watchers
1 year
Last Commit

About corner-smoothing

 Apple-like smooth corners for Tailwind CSS.

Platforms

Web Self-hosted

Languages

TypeScript

Corner Smoothing

Frame 1

Adjusts a rounded corner to create a continuous curve. Inspired by Rob.

Installation

Install the plugin from npm:

npm install tailwind-corner-smoothing --save-dev

Usage

v4

// Global.css / App.css

@plugin "tailwind-corner-smoothing";

v3

// tailwind.config.js
module.exports = {
  plugins: [require('tailwind-corner-smoothing')],
};

Example

<div class="smooth-corners-md bg-blue-500">Smooth corners!</div>

License

MIT