---
title: "Comment by Ricardo Luz on \"CSS :placeholder-shown class\" | Hashnode"
description: "I never hear about this, quite useful for this option! I&#39;ll use in a future project for sure to highlight required fields without any JS."
url: "https://hashnode.com/posts/css-placeholder-shown-class/5fbb3d1431929914d8ad6ba9/comment/5fbb4ae84609e7186f8559ed"
---

[Discussion](https://hashnode.com/posts/css-placeholder-shown-class/5fbb3d1431929914d8ad6ba9)

Comment [CSS :placeholder-shown class](https://hashnode.com/posts/css-placeholder-shown-class/5fbb3d1431929914d8ad6ba9)

[Ricardo Luz](https://hashnode.com/@rxluz)

[Nov 23, 2020](https://hashnode.com/posts/css-placeholder-shown-class/5fbb3d1431929914d8ad6ba9/comment/5fbb4ae84609e7186f8559ed)

I never hear about this, quite useful for this option! I'll use in a future project for sure to highlight required fields without any JS.

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Nov 23, 2020](https://hashnode.com/posts/css-placeholder-shown-class/5fbb3d1431929914d8ad6ba9/comment/5fbb4ae84609e7186f8559ed#reply-5fbb58434609e7186f855bc9)

Yeah I think nowadays if you don't have to support IE, you can make superb websites no-js required!
