10
bosi
7y

Yesterday I was reminded by myself why I prefer working on backend instead on frontend. Css is definitely one of the shittiest things I've ever seen especially if you try to overwrite some Css settings if the used cms theme.

Comments
  • 1
    I get what you're saying, but it's about knowing the "language". CSS is governed by the concept of specificity, so you just have to know how things are referenced to do your overriding. But, yes, it's not the most intuitive process.
  • 0
    @AlexDeLarge the fact is that css is in my eyes not good designed as it often does not do what i want it to do. Yes you're right that basically it's a simple language with yust id's, classes and pseudo-classes to select the elements I want to customize. And yes maybe those people who crate themes for cms are as lazy as me leaning css proper and use it in a way other people can easily work on the stylesheets without using "!important" all the time. The point is that a language should not give devs even the ability to do it the quick and dirty way.
  • 0
    @bosi "The language should not let the devs do it the quick and dirty way"

    That's a truly bonkers thought. How do you even begin to think about that when you're coming up with a language?

    Compare it with spoken languages. You're essentially saying "It should not be possible to combine letters together to make certain words."

    A language (spoken or programming) can no more govern how people use it than food can control how people eat it.
Add Comment