DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Minimal Line Input - Preview | DevPlatform
DevPlatform
Categories
Accordion
Animation
Box Shadow
Button
Card
Footer
Form
Gallery
Hero Section
Inputs
Loader
Marquee
Modal
Modules
Navbar
Progress Bar
Radio Buttons
Search-Bar
Sections
Slider
Tab
Timeline
Toggle
Minimal Line Input
abhishek001
Jan 25, 2026
5
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="container"> <input type="text" class="minimal-input" placeholder="Your name"> </div>
1
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; background: #f8f9fa; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; } .container { width: 100%; max-width: 400px; } .minimal-input { width: 100%; padding: 0.875rem 0; font-size: 1.15rem; color: #1a1a1a; background: transparent; border: none; border-bottom: 2px solid #e0e0e0; outline: none; transition: all 0.3s ease; } .minimal-input::placeholder { color: #999; } .minimal-input:focus { border-bottom-color: #1a1a1a; padding-left: 0.5rem; } @media (max-width: 768px) { .minimal-input { font-size: 1rem; } }
1
Comments
0
Want to comment?
Please
login
or
sign up
to post comments.
No comments yet
Be the first to comment on this component!
Comments 0
Want to comment?
Please login or sign up to post comments.
No comments yet
Be the first to comment on this component!