I would like to apply a special style to all inputs in my form that are required and empty.
It works when I write in my css
input[required='required'] { bla-bla-bla; }
but it does not work when I write
input[value=''] { bla-bla-bla; }
I know I can do it with jQuery, but I would like to do it in pure css if possible.
Can this be done?
Thanks in advance,
Timothy.
source share