Should I use CSS :disabled pseudo-class or [disabled] attribute selector or is it a matter of opinion?
Is the attribute selector the modern CSS3 way and the way to go forward? attribute is newer and better No; actually, attribute selectors have been around since CSS2, and the disabled attribute itself has existed since HTML 4. As far as I know, the :disabled pseudo-class was introduced in Selectors 3, which makes the pseudo-class … Read more