Quantcast
Channel: Pens from Dan Wilson
Viewing all articles
Browse latest Browse all 599

Sliced Challenge

$
0
0

See the Code - See it Full Page - See Details

Using two (pseudo) elements, 25 declarations, Custom Properties, and clip path to solve https://twitter.com/anatudor/status/1065859678012432385 from @thebabydino The two elements do have some unique styling, but I do believe it's possible to abstract a clip path that both could use, and get each part of the clip path as an equation based on a starting offset and an index of the slice. For now that's the compromise on the original rules to get it down to two "elements"

This Pen uses: HTML, CSS, JavaScript, and


Viewing all articles
Browse latest Browse all 599

Trending Articles