mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
27 lines
692 B
HTML
27 lines
692 B
HTML
<input type="text" name="text" placeholder="Search 'UIverse'" class="input">
|
|
<style>
|
|
/* From Uiverse.io by chethan025 - Tags: input, search, hover effect */
|
|
.input[type = "text"] {
|
|
display: block;
|
|
color: rgb(34, 34, 34);
|
|
background: linear-gradient(142.99deg, rgba(217, 217, 217, 0.63) 15.53%, rgba(243, 243, 243, 0.63) 88.19%);
|
|
box-shadow: 0px 12px 24px -1px rgba(0, 0, 0,0.18);
|
|
border-color: rgba(7, 4, 14, 0);
|
|
border-radius: 50px;
|
|
block-size: 20px;
|
|
margin: 7px auto;
|
|
padding: 18px 15px;
|
|
outline: none;
|
|
text-align: center;
|
|
width: 200px;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.input[type = "text"]:hover {
|
|
width: 240px;
|
|
}
|
|
|
|
.input[type = "text"]:focus {
|
|
width: 280px;
|
|
}
|
|
</style>
|