L
L
ligisayan2021-07-01 17:27:06
css
ligisayan, 2021-07-01 17:27:06

How to validate a pure css form using invalid and placeholder-shown pseudo-classes?

Hello!
I read in an article that you can validate a pure CSS form using a combination of the :placeholder-shown and :invalid pseudo-classes and the :not property. I'm trying to reproduce this in the form below, but I can't get it to work. Validation in the example itself also fails to check

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2021-07-01
@ligisayan

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question