Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

[angled corners] type worklet with 1 to 8 corner size option #174

Open
jsnkuhn opened this issue Dec 15, 2021 · 0 comments
Open

[angled corners] type worklet with 1 to 8 corner size option #174

jsnkuhn opened this issue Dec 15, 2021 · 0 comments

Comments

@jsnkuhn
Copy link

jsnkuhn commented Dec 15, 2021

Have a copedpen where I built on the current angled corners worklet to add 1-8 corner size option (like the slash syntax from border-radius). Not sure if this warrants it's own entry or if this can just add functionality to the current worklet?

Was ultimately looking to recreate the full functionality of the old corner-shape spec. As in add the options for different shapes at each corner (square, angle, notched, scoop). But I'm just not skilled enough with JS to do that right now.

Also looked into adding different values like % and em but golly that would be a mess (Unless I'm missing some houdini API that makes this easy?)

https://codepen.io/jsnkuhn/pen/NWgBBdO?editors=0100

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant