Replies: 1 comment
-
I like the idea of moving towards web-standards in general. Even for other custom css properties, I'd prefer we slowly moved towards spec-compliance, for example: .example {
placeholder-color: red;
} would become .example {
--placeholder-color: red;
} to stay spec-compliant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Given the PR I'm currently working on #10514, I had the inspiration of including a way to style views that specifically reside inside dialogs.
That's currently a big problem since there's no easy way to style them.
I was thinking we could use Google Chrome's custom pseudo-classes for such scenarios: https://css-tricks.com/custom-state-pseudo-classes-in-chrome/#aa-custom-states
Custom ones differ in the fact that they start with
--
.Example:
or another alternative implementation
Beta Was this translation helpful? Give feedback.
All reactions