I need to recreate a custom input
styled like the Google Material Theme design.
This is the desired outcome:
https://i.stack.imgur.com/QU5dp.png
While I am aware that frameworks/libraries can achieve this, it is part of my assignment to create it from scratch.
Below is the code I have so far:
input {
margin-top: -6px;
margin-bottom: 30px;
border: solid 2px #00ffb3;
border-radius: 3px;
height: 30px;
}
label {
margin-left: 8px;
font-weight: lighter;
}
<div class="input">
<label for="text">Message</label>
<input class="Message" type="text">
</div>