EQCSS is a CSS Reprocessor that introduces Element Queries, Scoped CSS, a Parent selector, and responsive JavaScript to all browsers IE8 and up
Version 1.2.2
brings scroll fixes and runs EQCSS sooner when the page first loads
Version 1.2.1 adds better support for decimals inside responsive query conditions, improves EQCSS.min.js
, and adds links to codepen demos to the README
Version 1.2.0 improves performance in recent Firefox releases, as well as provides throttling to prevent an overload of recalculation in all browsers. EQCSS.throttle()
can also be called manually by JavaScript code to apply styles in a throttled way, in addition to the already existing EQCSS.apply()
which recalculates styles immediately when called. Now you have a choice of both, and EQCSS has switched to using EQCSS.throttle()
by default.
Also new in this release of EQCSS - event-driven recalculations have been expanded to include input
events, mousedown
, mousemove
, mouseup
, in addition to resize
and scroll
which were already included in EQCSS.
Happy Hacking!
Version 1.1.1 adds alternative prefixes for meta-selectors for better SCSS compatibility. Instead of using $
, you can also format meta-selectors prefixed by eq_
. These are eq_this
, eq_parent
, eq_root
, eq_prev
, and eq_next
Version 1.1.0 brings a small batch of features that build on the strength of the v.1.0.0 release.
var()
to eval("")
eval("")
to the current element ($this
)$it
that works inside eval("")
to represent the current element ($this
)eval("")
can computeeval("")
non-blocking in cases where the JavaScript produces an error$prev
that selects the .previousSibling
of the current element ($this
)$next
that selects the .nextSibling
of the current element ($this
)After a year in development and testing, EQCSS has reached a version 1 release. EQCSS is a polyfill that allows you to write Element Queries for CSS, introduces style scoping, and a number of special selectors for more powerful CSS styles.