Is there a way to style all custom elements in CSS? I am looking to make custom elements default to block display (as most browsers render them inline by default) and then adjust as needed.
A potential rule I have in mind is:
*::custom {
display: block;
}
Since all custom elements contain dashes in the name convention, I could create a rule based on that. However, this approach may be slower on current browsers due to regular expressions. It would be more efficient if there were a built-in selector for this purpose.