-
Is it: const styles = stylex.create({
foo: {
"::before": {
backgroundColor: "red",
},
}
}) const styles = stylex.create({
foo: {
backgroundColor: {
default: null, // Or `"none"`?
"::before": "red",
},
}
}) Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
necolas
Jun 6, 2024
Replies: 1 comment 1 reply
-
https://stylexjs.com/docs/learn/styling-ui/defining-styles/#pseudo-elements |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zaydek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stylexjs.com/docs/learn/styling-ui/defining-styles/#pseudo-elements