How to get margin auto size using javascript when I use margin auto property in css

Viewed 83

I have a svg with margin:auto; is it possible to get the value of the margin auto so I can use it in my webapp?

#svg {
  display: block;
  margin: auto;
}
<svg id = "svg" width = "850" height = "800"></svg>
0 Answers
Related