mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
36 lines
No EOL
752 B
HTML
36 lines
No EOL
752 B
HTML
<input placeholder="Type something..." class="input" name="text" type="text" />
|
|
|
|
<style>
|
|
/* From Uiverse.io by elijahgummer - Tags: animation, blue, input, glow, transition, hover effect, box-shadow */
|
|
.input {
|
|
width: 200px;
|
|
padding: 12px;
|
|
border: 2px solid #3498db;
|
|
border-radius: 8px;
|
|
outline: none;
|
|
font-size: 18px;
|
|
transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
|
|
background-color: #fff;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: #2980b9;
|
|
box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
/* Placeholder Styling */
|
|
.input::placeholder {
|
|
color: #aaa;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Hover Effect */
|
|
.input:hover {
|
|
background-color: #f0f8ff;
|
|
}
|
|
|
|
</style>
|
|
|