Active-CSS / active-css

The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
https://activecss.org
Other
42 stars 7 forks source link

Implement CSS at-rules inside ACSS events #177

Closed bob2517 closed 3 years ago

bob2517 commented 3 years ago

This is a relatively involved issue and will require a thorough understanding of all the CSS at-rules to get a strategy formulated.

bob2517 commented 3 years ago

Currently, the only CSS at-rule that works, are media queries used outside of ACSS event declarations.

ACSS at-rules is something else entirely. CSS at-rules will require detection, content grabbing, and then some sort of dynamic handling, which is probably different than the current generic handling for standard CSS commands. This won't be the same handling that is being set up for allowing regular CSS in ACSS files, but may share some functionality.

There are things like @keyframes, etc., which indicates non-trivialness.

bob2517 commented 3 years ago

Closing this issue - it's being covered in the other issue on including CSS in ACSS - most at-rules just aren't applicable to run on a dynamic level.