Сообщение от jasper-blondin
|
А как это работает? Не понял.
|
в доке даже пример использования тот же
http://api.jquery.com/css/
Цитата:
|
As of jQuery 1.6, .css() accepts relative values similar to .animate(). Relative values are a string starting with += or -= to increment or decrement the current value. For example, if an element's padding-left was 10px, .css( "padding-left", "+=15" ) would result in a total padding-left of 25px.
|