more css hottie
This commit is contained in:
@@ -86,3 +86,20 @@
|
|||||||
color: #0066cc;
|
color: #0066cc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form-hidden {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form-visible {
|
||||||
|
animation: fadeIn 2s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default function Login() {
|
|||||||
<span className="login-brand">Koin Ping</span> - Login
|
<span className="login-brand">Koin Ping</span> - Login
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div style={{ visibility: isVisible ? 'visible' : 'hidden' }}>
|
<div className={isVisible ? 'login-form-visible' : 'login-form-hidden'}>
|
||||||
{error && (
|
{error && (
|
||||||
<div className="login-error">
|
<div className="login-error">
|
||||||
{error}
|
{error}
|
||||||
|
|||||||
Reference in New Issue
Block a user