21 | 22 | --squircle-border-radius: 40px; 23 | {' '} 24 | 25 | --squircle-background-color:{' '} 26 | 27 | #2dd4bf 28 | 29 | 30 | 31 | ; 32 |
33 |42 | Make Squircles simply on the web 43 |
44 | 45 |46 | Finally, a simple, modular way to create beautiful squircles in 47 | CSS, offering full customization and seamless integration as 48 | well as Tailwind CSS integration. 49 |
50 | 51 |52 | Inspired by{' '} 53 | 59 | Pavel Laptev 60 | 61 | 's work 62 |
63 |Handling with CSS
96 |97 | Modify your squircles directly in CSS via various combinable 98 | variables to give a result close to what a native squircle might 99 | be. 100 |
101 |Tailwind CSS Plugin
107 |108 | Easily customize your squircles with our comprehensive tailwind 109 | plugin, which lets you play around with css variables. 110 |
111 |Highly customizable
117 |118 | Choose between mask or background mode and customize radius, 119 | smoothing, background color and border size and color. 120 |
121 |High compatibility
127 |128 | We use CSS Houdini combined with an improved version of 129 | css-paint-polyfill to ensure high compatibility with all modern 130 | browsers. 131 |
132 |
49 |