I can not make a smooth swing of the element .test (that is, it will rotate from the initial position ( 0 ) 10 degrees clockwise, and then return counterclockwise ( -15 ) using jqueryrotate .
Is it possible to solve this in an alternative way?
CSSyou can safely do without any scripts and libraries - Alexey Shimanskycssjsfiddle.net/qugqxLgj - Alexey Shimansky