Welcome to the MastorsCDN Input Component documentation. This guide covers both standard input types and a modern floating input component with a rising placeholder effect. Explore the sections below for previews, class names, and usage examples.
| Preview | Type/Class Name | Description | HTML Declaration | Copy |
|---|---|---|---|---|
| Standard Input Types | ||||
| A collection of styled standard HTML input types with consistent theming and interactive effects. | ||||
|
|
input[type="text"] |
Basic text input with border, hover, and focus effects. |
|
|
|
|
input[type="color"] |
Color picker input with a cursor pointer and consistent height. |
|
|
|
|
input[type="date"] |
Date picker input with a minimum width for usability. |
|
|
|
|
input[type="range"] |
Range slider with custom track and thumb styling, including hover and focus effects. |
|
|
|
|
input[type="number"] |
Number input with hidden spin buttons for a clean look. |
|
|
|
|
input[type="file"] |
File upload input with a styled button and hover effect. |
|
|
|
|
textarea |
Resizable textarea with a minimum height and placeholder styling. |
|
|
|
|
input[type="submit"] |
Submit button with primary color styling and hover effect. |
|
|
|
|
input[type="search"] |
Search input with standard styling and focus effect. |
|
|
|
|
select |
Dropdown select with custom arrow and focus animation. |
|
|
| Base Floating Input | ||||
| The core floating input component with a rising placeholder effect. | ||||
|
Enter your text
|
.input-container.border-all |
Basic input with 1px border and 6px radius. Placeholder floats up on focus or when filled. |
|
|
| Original Variations | ||||
| Additional modifier classes to customize the appearance of the floating input. | ||||
|
Enter your text
|
.input-container.border-all.shadow |
Adds a subtle box shadow to the base input. |
|
|
|
Enter your text
|
.input-container.border-all.rounded.large |
Increases border radius to 12px and width to 400px. |
|
|
| Enhanced Variations | ||||
| Modern, visually enhanced variations with additional effects and animations. | ||||
|
Enter your text
|
.input-container.outline |
Basic input with 2px primary blue border and 8px radius. Features hover animation and glow effect. |
|
|
|
Enter your text
|
.input-container.soft-glow |
Soft blue glow effect with subtle border and enhanced shadow on hover. |
|
|
|
Enter your text
|
.input-container.pill |
Pill-shaped input with green border and 50px radius. Includes subtle shadow on hover. |
|
|
|
Enter your text
|
.input-container.underline |
Minimal underline style with red accent that thickens on hover. |
|
|
|
Enter your text
|
.input-container.floating-box |
Floating card effect with shadow that deepens on hover. |
|
|
|
Enter your text
|
.input-container.neon-edge |
Eye-catching neon gradient border with blur effect. |
|
|
|
Enter your text
|
.input-container.minimal-accent |
Minimal design with yellow left border and subtle shadow on hover. |
|
|