mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
38 lines
793 B
HTML
38 lines
793 B
HTML
<input type="text" name="text" class="input" placeholder="Search the web...">
|
|
<style>
|
|
/* From Uiverse.io by ErzenXz - Tags: input, search */
|
|
.input {
|
|
background-color: #F4F4F4;
|
|
border: none;
|
|
border-radius: 10px;
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
color: #333;
|
|
font-family: "Helvetica Neue", sans-serif;
|
|
font-size: 16px;
|
|
padding: 10px;
|
|
width: 100%;
|
|
max-width: 200px;
|
|
height: 50px;
|
|
line-height: 30px;
|
|
outline: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
transition: background-color 0.3s ease-in-out;
|
|
}
|
|
|
|
.input:focus {
|
|
background-color: #EAEAEA;
|
|
}
|
|
|
|
.input:disabled {
|
|
background-color: #DADADA;
|
|
color: #A3A3A3;
|
|
}
|
|
|
|
.input:read-only {
|
|
background-color: #F4F4F4;
|
|
color: #A3A3A3;
|
|
cursor: not-allowed;
|
|
}
|
|
</style>
|