<body>
<form class="Neuomorphisms">
<label>
<input type="text" placeholder="メールアドレス" />
</label>
<label>
<input type="password" placeholder="パスワード" />
</label>
<button type="button">ボタン</button>
</form>
</body>
body {
background-color: #ebecf0;
}
button,
input {
border: 0;
outline: 0;
font-size: 16px;
border-radius: 320px;
padding: 16px;
background-color: #ebecf0;
text-shadow: 1px 1px 0 #fff;
}
label {
display: block;
margin-bottom: 24px;
width: 500px;
}
input {
margin-right: 8px;
box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px #fff;
width: 100%;
box-sizing: border-box;
transition: all 0.2s ease-in-out;
appearance: none;
-webkit-appearance: none;
}
input:focus {
box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}
button {
color: #61677c;
font-weight: bold;
box-shadow: -5px -5px 20px #fff, 5px 5px 20px #babecc;
transition: all 0.2s ease-in-out;
cursor: pointer;
font-weight: 600;
}
button:hover {
box-shadow: -2px -2px 5px #fff, 2px 2px 5px #babecc;
}
button:active {
box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}