Margin shorthand
#1682
-
In the layout options doc it states that you can use Is this shorthand an object, or an array perhaps? Array
Object v1
Object v2
I've tried these variations but they don't seem to work. I don't know if it's my implementation or not. Can you confirm usage, please? |
Beta Was this translation helpful? Give feedback.
Answered by
mbostock
Jun 8, 2023
Replies: 1 comment 1 reply
-
It’s shorthand for specifying all four margins as the same value. For example,
is equivalent to
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It’s shorthand for specifying all four margins as the same value. For example,
margin: 20
.is equivalent to