Skip to content

Commit 56ab860

Browse files
author
linyisonger
committed
字体更换位置 视频出片效果更好些
1 parent 8589007 commit 56ab860

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

100.曲面八分屏.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
box-shadow: 2px 0 30px #333;
2727
transform: translateX(-100%);
2828
transition: transform 5s ease-out;
29-
filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
29+
/* filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6)); */
3030
}
3131

3232
.eighth-box img {
@@ -56,23 +56,24 @@
5656
position: absolute;
5757
color: #fff;
5858
font-weight: bold;
59-
font-size: 20px;
59+
font-size: 60px;
6060
text-align: center;
61-
top: 30px;
61+
top: 50%;
6262
z-index: 200;
6363
text-align: center;
6464
left: 50%;
65-
transform: translateX(-50%);
65+
transform: translate(-50%, -50%);
66+
text-shadow: 2px 0 2px #333;
6667
}
6768

6869
.header .subtitle {
6970
margin-top: 8px;
70-
font-size: 16px;
71+
font-size: 30px;
7172
font-weight: normal;
7273
opacity: .6;
7374
}
7475

75-
.header::before {
76+
/* .header::before {
7677
position: absolute;
7778
height: 100%;
7879
background-color: #000;
@@ -81,11 +82,11 @@
8182
width: 100%;
8283
transition: left 5s ease-out;
8384
z-index: 10;
84-
}
85+
} */
8586

86-
.header.show::before {
87+
/* .header.show::before {
8788
left: 100%;
88-
}
89+
} */
8990
</style>
9091
</head>
9192

@@ -113,7 +114,7 @@
113114
<div class="upper-mask"></div>
114115
<div class="bottom-mask"></div>
115116
<div class="header">
116-
<div class="title">奥さんを選んでください</div>
117+
<div class="title">奥さんを選んでください</div>
117118
<div class="subtitle">
118119
Please choose your wife
119120
</div>

0 commit comments

Comments
 (0)