r/csshelp • u/Fabulous_Jury_9063 • Jul 27 '23
Can we select the value of an input field using CSS and manipulate its properties?
5
Upvotes
r/csshelp • u/Fabulous_Jury_9063 • Jul 27 '23
1
u/inneedofayacht Jul 27 '23
no
1
u/be_my_plaything Jul 27 '23
With a little bit of javascript to set the value on the input field.
https://codepen.io/NeilSchulz/pen/KKrGLoJ
1
u/simpleCoder254 Aug 05 '23
Last time I checked it was only the placeholder attribute which is used to affect the value of input field.