I wonder whether there is a way to read a special css-value of a class with jQuery. The scenario looks more or less like this:
HTML:
<div class="box"></div>
CSS:
.box { margin-top: 100px; }
Now I would like to check whether that .box has a margin-top of 100px or not to make in if-statement based on it.
.boxrule, but you can use.css('margin-top')to get the element's current computed margin-top value.