ISSUE-045 - Venetian Blinds - After some trial and error I've got a performant and sensible wipe solution using a clip-path mask.
Figuring this out of great because these kinds of clip paths are used in other places as well so this is good practice to start with.
This commit is contained in:
1 parent
38aeedea65
commit
c07d364584
3 files changed
+105
-11
No files matched your search
Vendored
+5
@@ -8,6 +8,11 @@ export type Px = number;
|
||||
*/
|
||||
export type Percent = number;
|
||||
|
||||
/**
|
||||
* Type to remind you that we're dealing with fraction (0-1).
|
||||
*/
|
||||
export type Fraction = number;
|
||||
|
||||
/**
|
||||
* Object to cleanly define relative/absolute placement for a styled component.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user