I am struggling with styling the input submit button in my form. I want the button to appear as text with a change in background and font color on hover. Any solutions?
input[type="submit"] {
font-family: made, mirage;
text-decoration: none;
background-color: none;
background-color: #383e42;
}
input[type="submit"]:hover {
background-color: white;
cursor: pointer;
}
<form action="" method="post">
<input type="text" name="yourmail" placeholder="Your email:">
<input type="text" name="subject" placeholder="Subject:">
<textarea name="message" placeholder="Message text" rows="10"></textarea>
<input type="submit" name="send-mail" id="" value="Send" />
</form>