1. This isn’t CSS. It’s a declarative JS drawing framework with CSS flavor to the syntax
2. Without actual CSS JavaScript wouldn’t be of much use for drawing much of anything unless you were just going to use canvasses and forego the DOM entirely