Follow

RT Elad Shechter
🤔The problem with the ':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:
codepen.io/elad2412/pen/wvpmjG

:sys_twitter: twitter.com/eladsc/status/1513

· · Twitter · 0 · 0 · 0
Sign in to participate in the conversation
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。