Skip to content

Commit 3056e55

Browse files
committed
docs: update CrossFlicking demo
1 parent e1537d6 commit 3056e55

File tree

4 files changed

+146
-1720
lines changed

4 files changed

+146
-1720
lines changed

docs/src/css/demo/crossflicking.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
.img {
2424
width: 100%;
2525
height: 100%;
26-
opacity: 0.5;
26+
opacity: 0.6;
27+
object-fit: none;
2728
}
2829

2930
.labels {
@@ -77,7 +78,7 @@
7778
-webkit-box-align: center;
7879
-webkit-align-items: center;
7980
align-items: center;
80-
line-height: 24px;
81+
line-height: 42px;
8182
font-size: 30px;
8283
color: rgba(255, 255, 255, 0.6);
8384
}
@@ -97,7 +98,7 @@
9798

9899
.area {
99100
position: absolute;
100-
width: 92px;
101+
width: 85px;
101102
height: 40px;
102103
-webkit-border-radius: 100px;
103104
border-radius: 100px;

0 commit comments

Comments
 (0)