Untitled

mail@pastecode.io avatar
unknown
plain_text
22 days ago
1.4 kB
3
Indexable
Never
body {
    background-color: teal;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
#loginForm {
    width: 420px;
    background: transparent;
    border: 2px solid white;
    backdrop-filter: blur(30px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    padding: 40px;
    text-align: center;
}
.input-container {
    position: relative;
    margin-bottom: 20px;
}
.input-container input[type="text"],
.input-container input[type="password"] {
    width: calc(100% - 40px);
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 5px;
    outline: none;
    padding-right: 40px;
}
.input-container i {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    color: #999;
}

button[type="submit"] {
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    background-color: cream;
    color: black;
    border-radius: 70px;
    cursor: pointer;
    font-size: larger;
    font-weight: bolder;
}

button[type="submit"]:hover {
    background-color: black;
    color: teal;
}

.error-message {
    color: red;
}
Leave a Comment