GitHub - gtokman/corner-smoothing:  Apple-like smooth corners for Tailwind CSS.

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

 Apple-like smooth corners for Tailwind CSS.

License

MIT license

677 stars 6 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

npm downloads discord users online

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