ctr-lang / ctr

An Object Orientated CSS Framework built with JavaScript
https://ctr-lang.com/
Apache License 2.0
26 stars 1 forks source link

This would be one of last "frameworks" I would like to use #11

Closed DanielGarcia2060 closed 7 years ago

DanielGarcia2060 commented 7 years ago

Can you please explain Why is this a good idea? and What is the purpose of this thing?

chhuang commented 7 years ago

Please explains what is this? How is this different from Bootstrap? Sparing the keystrokes is not helping people to understand the idea behind this great work.

fetchTe commented 7 years ago

@DanielGarcia2060 I've moved away from the token subscription model - it was more or less wishful thinking. Nonetheless, ctr is a CSS framework with built in object oriented functionality to allow for a rich hierarchy of inherited CSS components so that it's not require to list each class in your HTML every single time. This functionality is encompassed through the class feature of ctr. However, in order to accomplish true object oriented functionality there has to be a supporting framework and that is what ctr provides. To better understand why this is advantageous you have to understand the basic premise of OOCSS as well as supporting concepts like extend.

fetchTe commented 7 years ago

Yeah, @chhuang sorry, I now realize I did a pretty shitty job the first time around trying to explain ctr in a succinct manner. But I rewrote the README description and would love to hear if it helps you better understand the idea.