A few days ago, ::marker
psudeo-element became supported by Firefox 68.
I'm wondering now if:
-
::marker
[is/could be] able to change the default icon of radio buttons and check boxes in a web page in a standard way, without any trick or workaround? 🤔 -
::marker
is going to be a standard way to represent icons in web pages (e.g. in a toolbar or a pagination panel)?
Top comments (2)
Whatever happens with it, it's long-term usability is kind of dependent on whether Blink and WebKit add support or not.
Personally, I'd love to have it widely available. I'm particularly excited about the possibility of having icons that can be displayed conditionally without needing to add any HTML code for the icons themselves.
Exactly. I hope we won't wait for so long for this.
You can use
::before
for this purpose.