Skip to content

Commit

Permalink
feat: 将线性渐变解析出来
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Oct 23, 2023
1 parent 0d68ddc commit 3d8ddb6
Show file tree
Hide file tree
Showing 2 changed files with 332 additions and 70 deletions.
5 changes: 3 additions & 2 deletions __test__/fixure/Mod.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
line-height:1;
flex-shrink:0px;
display:inline-flex;
background: black;

background: linear-gradient(217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%),
linear-gradient(127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%),
linear-gradient(336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
}
.cnt_row {
border-radius:100px;
Expand Down
Loading

0 comments on commit 3d8ddb6

Please # to comment.