A client-side utility CSS engine.
1. Add the script to your HTML <head>:
<head>
<script src="js/ECStyleSheet.js"></script>
</head>
2. Use utility style classes directly in your HTML elements:
<div class="backgroundColor-blue color-white padding-10px hover:opacity-0.8">
Styled Element
</div>
Use standard CSS properties mapped to class names. Spaces are written as underscores (_).
Prefix classes with pseudo-selectors like hover:.
Use native shortcuts like eccard,
ecgrid-XxY, and
ecbounce-N.
Hover & click this card to see transition animations.
Bigger scaling effect on hover and active click states.
Standard eccard class without bounce modifier.
Resize your screen width. (Note: Put larger breakpoints first in your class list so smaller media queries correctly override them):
The observer automatically registers and generates styles for classes injected at runtime via JavaScript.