input style types

PHOTO EMBED

Mon Feb 07 2022 10:01:06 GMT+0000 (UTC)

Saved by @Ozair #html #css

<div>
    <div class="input-container">
        <label for="name">Name</label>
        <input type="text" placeholder="Enter name" class="input-default" name="name" />
        <span>Default Message</span>
    </div>
    <div class="input-container">
        <label for="email">Email</label>
        <input type="email" placeholder="Enter Email" class="input-fail" name="email" />
        <span class="text-fail">Error Message</span>
    </div>
    <div class="input-container">
        <label for="password">Password</label>
        <input type="password" placeholder="Password" class="input-success" name="password" />
        <span class="text-success">Success Message</span>
    </div>
</div>
content_copyCOPY

My Own