Design comparison
Solution retrospective
Anyone knows how to make email placeholder red after error message?
Community feedback
- @AlexBueckigPosted about 5 years ago
Hi @Savaaa22,
actually there is a pseudoclass for elements using a placeholder! You can change lots of properties including color, font-size, etc.
e.g.:
input::placeholder { color: red; }
Of course you don't have to use the input selector, you can just use a class or id selector instead aswell. e.g.
.my-input-element-class::placeholder {...}
2 - @mattstuddertPosted about 5 years ago
Nice work on this challenge! Just a quick heads up that having
/images
at the beginning of yourbackground-image
is causing the image not to show on the preview. You can resolve this easily by just adding a dot at the beginning of the path like this./images
.Keep up the great work!
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord