Skip to content

Commit

Permalink
feat: add mask utility
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Apr 20, 2021
1 parent 31f0b8b commit db608b7
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
59 changes: 59 additions & 0 deletions src/base/components/mask.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/base/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
@import "./components/link";
@import "./components/countdown";
@import "./components/divider";
@import "./components/mask";
5 changes: 5 additions & 0 deletions src/styled/components/mask.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.mask{
mask-size: contain;
mask-repeat: no-repeat;
mask-position: center;
}
1 change: 1 addition & 0 deletions src/styled/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
@import "./components/link";
@import "./components/countdown";
@import "./components/divider";
@import "./components/mask";

0 comments on commit db608b7

Please sign in to comment.