Skip to content

Commit 5f3cf9e

Browse files
committed
3D翻转+樱花背景 登录页21.02.25
1,修复了在正面会点到背面的bug 2,增加了悬停在登录注册按钮上时光标样式 https://www.bilibili.com/video/BV1cy4y1a7s7/
1 parent e6e3c67 commit 5f3cf9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

4-turnOverLogin/login.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ input{
8888
outline: none;
8989
border: none;
9090
box-shadow: 0 4px 8px 0 rgba(78, 73, 79, .5);
91+
transform-style: preserve-3d;
92+
transform: translate3d(0, 0, 1px);
9193
}
9294
.login input:nth-child(-n+3){
9395
/* 选择class为login的子元素中的前三个input */
@@ -104,4 +106,5 @@ input{
104106
color: white;
105107
border-radius: 8px;
106108
margin-top: 15px;
109+
cursor: pointer;
107110
}

0 commit comments

Comments
 (0)