mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
41 lines
829 B
HTML
41 lines
829 B
HTML
<div class="search">
|
|
<input placeholder="Search..." type="text">
|
|
<button type="submit">Go</button>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by Bodyhc - Tags: input, search, input effect , search bar */
|
|
.search {
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.search input[type="text"] {
|
|
width: 200px;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.search button[type="submit"] {
|
|
background-color: #4e99e9;
|
|
border: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
padding: 10px 20px;
|
|
border-radius: 20px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
transition: .9s ease;
|
|
}
|
|
|
|
.search button[type="submit"]:hover {
|
|
transform: scale(1.1);
|
|
color: rgb(255, 255, 255);
|
|
background-color: blue;
|
|
}
|
|
|
|
</style>
|