46 |61 | 62 |background: color
47 |mask-image: paint(squircle)
48 |background: color mask-image: paint(squircle)
49 |--squircle-radius: px
50 |--squircle-smooth: number
51 |52 | 53 | // if you want to use property as background instead of mask 54 | 55 |
56 |background: paint(squircle)
57 |58 | --squircle-fill: color // accept CSS variables 59 |
60 |
66 |86 |67 | // Outline via background 68 |
69 |background: paint(squircle)
70 |--squircle-radius: px
71 |--squircle-smooth: number
72 |--squircle-outline: px
73 |74 | 75 | // Outline via{" "} 76 | 81 | pseudo-element 82 | 83 | 84 |
85 |
A lightweight CSS module squircles as a custom property
*/} 57 |