Skip to content

Commit 3dcf69e

Browse files
authored
new cool effect to highlight the text enter box
1 parent aeb7017 commit 3dcf69e

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

index.html

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,30 @@
4949
color:#80C000;
5050
margin:20px;
5151
}
52-
53-
@keyframes flash {
54-
from { border-color:red;color:red; }
55-
to {}
52+
53+
/* things for shine effect */
54+
.shine {
55+
-webkit-mask-image: linear-gradient(-45deg, #000f 30%, #0004 50%, #000f 70%);
56+
-webkit-mask-size: 200%;
57+
-webkit-mask-position: -50%;
58+
animation: shine 2s linear 5;
59+
}
60+
61+
@-webkit-keyframes shine {
62+
from {
63+
-webkit-mask-position: 150%;
64+
}
65+
66+
to {
67+
-webkit-mask-position: -50%;
68+
}
5669
}
5770
</style>
5871
</head>
5972
<body>
6073
<div style="margin-top:35vh;">
61-
<h1 style="margin-bottom:20px;">Zero Bot Gate</h1>
62-
<input type="password" placeholder="Enter Your Passphrase" name="in" required id="in" class="tostyle"/>
74+
<h1 style="margin-bottom:15px;">Zero Bot Gate</h1>
75+
<input type="password" placeholder="Enter Your Passphrase" name="in" required id="in" class="tostyle shine"/>
6376
<span type="submit" onclick="test()" class="tostyle" style="margin-left:20px;width:25px;text-align:center;margin-bottom:30px;display:inline-block;">></span>
6477
<div></div>
6578
<span class="tostyle" onclick="relocate('new')">Need a new passphrase?</span>

0 commit comments

Comments
 (0)