galaxy/Inputs/BlackisPlay_black-tiger-82.html

56 lines
No EOL
1.3 KiB
HTML

<div id="dateDiv">
<input
type="text"
id="dateInput"
class="dateInput"
placeholder="Date: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MMYYYY"
/>
</div>
<style>
/* From Uiverse.io by BlackisPlay - Tags: simple, animation, 3d, minimalist, white, active, input, shadow */
.dateInput {
margin-left: auto;
margin-right: auto;
height: 2.5em;
width: 12.5em;
border-radius: 2.5em;
border: none;
background-color: rgb(255, 255, 255);
-webkit-filter: drop-shadow(1px 1px 10px #000);
filter: drop-shadow(7px 7px 10px #00000059);
font-family: Arial, Helvetica, sans-serif;
color: rgb(77, 77, 77);
text-align: center;
font-size: 14px;
outline: 2px solid rgba(0, 0, 0, 0);
transition: outline-offset 0.5s ease, outline-color 0.5s ease,
height 0.5s ease, width 0.5s ease, filter 0.5s ease;
}
.dateInput:focus {
outline-offset: 0.5em;
outline-color: rgba(0, 0, 0, 0.228);
transition: 0.2s;
height: 3em;
width: 13em;
-webkit-filter: drop-shadow(1px 1px 10px #000);
filter: drop-shadow(-7px 7px 10px #00000059);
}
.dateInput::placeholder {
padding-left: 0.8em;
font-family: Arial, Helvetica, sans-serif;
font-weight: 500;
letter-spacing: 1px;
transform: translateX(-6px);
transition: transform 0.5s ease;
}
.dateInput:focus::placeholder {
transform: translateX(-85px);
transition: 0.5s;
}
</style>