DynCSS : Simple, Dynamic CSS Rules to Give Life to Your Sites

dyncss
DynCSS parses your CSS for -dyn-(attribute) rules. These rules are Javascript expressions evaluated on browser’s events like scroll and resize. The result is applied to the CSS attribute you have specified as suffix.
You can make dynamic any CSS property — provided that it is writable by jQuery’s .css() method. You do this by appending the -dyn- prefix and specifying a quoted Javascript expression.

DynCSS allows to add a class dynamically to all elements of a given selector, based on a condition to be evaluated at run-time; this is useful to build scroll spies.

[button color=”black” size=”medium” link=”http://www.vittoriozaccaria.net/dyn-css/#what-is-it” target=”blank” rel=”nofollow” ]DynCSS [/button]

Leave a Reply