Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Show HN: HTML placeholder trick – showing element when input has value | Better HN
Show HN: HTML placeholder trick – showing element when input has value
(codepen.io)
8 points · by
mjunaidi
· 7y ago · 1 comment
Comments
[–]
loueed
7y ago
Alternative method using the input:valid selector
https://codepen.io/LoueeD/pen/mddwBpv
:valid is supported by IE10