Responsive login
by Vince Richter
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>
Login
</title>
<style>
* {
transition: 0.5s;
}
body {
background: #111111;
overflow-x: hidden;
}
@keyframes waves {
0% {transform:translateX(0) translateZ(0) scaleY(1)}
0% {transform:translateX(-25%) translateZ(0) scaleY(.5)}
0% {transform:translateX(-50%) translateZ(0) scaleY(1)}
}
.content {
width: 500px;
background: black;
border-radius: 3px;
padding: 10px;
text-align: center;
margin: 0px auto;
z-index: 11;
}
.content h1 {
color: white;
font-family: sans-serif;
letter-spacing: 3px;
text-transform: uppercase;
}
.content input[type=text] {
width: 70%;
background: #1b1b1b;
border: none;
font-size: 30px;
cursor: text;
border-radius: 1000px;
}
.content input[type=password] {
width: 70%;
background: #1b1b1b;
border: none;
font-size: 30px;
cursor: text;
border-radius: 1000px;
}
.content .log {
border-radius: 50%;
border: none;
font-size: 20px;
background: blue;
color: white;
font-size: 40px;
height: 50px;
...