1. Basic input:
<div class="input-container">
<div class="input-name">
<label for="name">Name:</label>
<input type="text" id="name" class="name-input-field">
</div>
<div class="input-password">
<label for="password">Password:</label>
<input type="text" id="password" class="password-input-field">
</div>
</div>
2. Input With Validation:
<div class="input-container">
<div class="input-name">
<label for="name">Name:</label>
<input type="text" id="name" class="name-input-field input-field-right">
<small class="right-input-validation">This username is valid</small>
</div>
<div class="input-password">
<label for="password">Password:</label>
<input type="text" id="password" class="password-input-field input-field-wrong">
<small class="wrong-input-validation">The username and password don't match</small>
</div>
</div>
3. Radio Button:
<div class="input-container">
<div>
<p>Please select your gender:</p>
<input type="radio" name="gender" value="male" id="male">
<label for="male">Male</label>
<input type="radio" name="gender" value="female" id="female">
<label for="female">Female</label>
<input type="radio" name="gender" value="others" id="others">
<label for="others">Others</label>
</div>
</div>
4. Check Box:
<div class="input-container">
<div>
<p>Please select the type:</p>
<input type="checkbox" name="shoes" id="sports" value="sports">
<label for="sports">Sports Shoes</label>
<input type="checkbox" name="shoes" id="boots" value="boots">
<label for="boots">Boots</label>
<input type="checkbox" name="shoes" id="formal" value="formal">
<label for="formal">Formal Shoes</label>
<input type="checkbox" name="shoes" id="sneakers" value="sneakers">
<label for="sneakers">Sneakers</label>
</div>
</div>
5. Dropdown:
Select your mode of payment:
UPI
Net Banking
Credit Card
Debit Card
Wallet
Paypal
<div class="input-container">
<label for="payment">Select your mode of payment:</label>
<select name="payment" id="payment" class="input-dropdown">
<option value="upi">UPI</option>
<option value="net">Net Banking</option>
<option value="credit">Credit Card</option>
<option value="debit">Debit Card</option>
<option value="wallet">Wallet</option>
<option value="paypal">Paypal</option>
</select>
</div>