Closed wooorm closed 2 years ago
Only adding mask: paint(squircle) gives a quite interesting result, but perhaps not what folks expect for squircles:
mask: paint(squircle)
Defaulting --squircle-smooth: 1 though, looks more like what I’d expect:
--squircle-smooth: 1
This seems to be documented as defaulting to 1, but I’m not seeing that? 🤔
1
@wooorm good idea. I'll check it
Sweet!
My guess is that:
undefined * 10
NaN
Updated https://www.unpkg.com/browse/css-houdini-squircle@0.2.0/squircle.min.js
Only adding
mask: paint(squircle)
gives a quite interesting result, but perhaps not what folks expect for squircles:Defaulting
--squircle-smooth: 1
though, looks more like what I’d expect: