Spróbuj dodać to:
input[type="text"]{
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
Według moich ustaleń "winny" jest : margin-bottom: 15%;, on łapie jeszcze "pole" dla danego inputa.
Całość mniejwięcej tak (część kodu zgadywałem - dodałem od siebie)
<style>
input[name="email-signin"]{
margin-bottom: 15%;
background-color: transparent;
border: none;
outline: none;
padding-top: 15px;
padding-bottom: 0;
border-bottom: 2px solid #000;
box-sizing: border-box;
}
input[name="pass-signin"]{
margin-bottom: 15%;
background-color: transparent;
border: none;
outline: none;
padding-top: 15px;
padding-bottom: 0;
border-bottom: 2px solid #000;
box-sizing: border-box;
}
input[type="text"]{
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
</style>
<body>
<input type="text" name="email-signin" placeholder="e-mail"><br>
<input type="text" name="pass-signin" placeholder="hasło">
</body>
albo "odwróć" margin:
input[name="email-signin"]{
background-color: transparent;
border: none;
outline: none;
padding-top: 15px;
padding-bottom: 0;
border-bottom: 2px solid #000;
box-sizing: border-box;
}
input[name="pass-signin"]{
margin-top: 15%;
background-color: transparent;
border: none;
outline: none;
padding-top: 15px;
padding-bottom: 0;
border-bottom: 2px solid #000;
box-sizing: border-box;
}