RT Elad Shechter
🤔The problem with the #CSS ':read-only' pseudo-class is that it will affect the ':disabled' element or any other "read-only" elements.
If you want to target only elements with the '[readonly]' attribute, then target this attribute directly.
@CodePen:
https://codepen.io/elad2412/pen/wvpmjGR