css

For all your CSS related content...
2020-07-25T23:26:58.015800Z

@reefersleep > What do you think about this? Your argument, if correct, is sound. I know thats not saying much, but the advice is familiar and your argument would be a good reason. > This idea is one way I’m trying to reason about CSS; there are just so many ways you can do things, so I’m looking for some sturdy, easily understandable guidelines. On that topic i found this enlightening. https://eev.ee/blog/2020/02/01/old-css-new-css/ it underpins why css is the way it is and how were moving towards more stable models.

reefersleep 2020-07-26T17:10:55.016100Z

Thanks @drewverlee, I’m reading the article 🙂

reefersleep 2020-07-26T17:16:17.016300Z

I know that there’s no silver bullet for CSS, but I’m convinced that there must a be some best practices, or better practices, in the general case as well as in specific cases.

2020-07-26T20:23:31.016500Z

The question is too broad to be answered directly. Some obvious issues with historic css: 1. lack of a constant way to break up space. Grid goes a long way to fixing this 2. Modularization: css is data, you need to be able compose it and have an optimization step after that. There are a couple libs that basically let you do this.

reefersleep 2020-07-26T20:29:16.016800Z

Yeah I know that it’s wayyyy too broad 😉 It’s more of a prompt to get to examples of specific areas in CSS where there might be do’s and don’t’s. Particularly, I’m interested solid ways of sizing and placing elements, but I’m generally interested in some reasonable works-in-80%-of-apps guidelines, whatever aspect of CSS they might apply to.

2020-07-26T20:39:15.017100Z

This thread might be worth dissectionhttps://clojureverse.org/t/recommendations-css-stack-for-2019/4935/5 @reefersleep

reefersleep 2020-07-26T20:46:27.017400Z

Thanks a lot @drewverlee, I’ll check it out!