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

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.

DynCSS
Tags :
Previous post link
Next post link

About Admin

A Tech Geek hooked on technology, code & Design.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Scroll To Top