Closed sergeymorkovkin closed 5 years ago
Recommend using getComputedStyle() for getting initial transform property value. Otherwise each rellax shape should be initialized in multiple places (class and style). E.g.:
.shape { right: 0; transform-origin: right top; }
<div class="transform: rotate(-45deg);"></div>
Non-relevant, since it doesn't return what's specified in style attribute. Closing.
Recommend using getComputedStyle() for getting initial transform property value. Otherwise each rellax shape should be initialized in multiple places (class and style). E.g.:
<div class="transform: rotate(-45deg);"></div>