easy to get into trouble for sure.

  • BassTurd@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    As someone that has gone through some of the available online tutorials like freecodecamp, and has no real world experience, especially in a team setting, I think I agree with you. I wouldn’t say it’s hard, but I do feel it’s unnecessarily complicated in some areas. Some naming conventions are unintuitive, the cascading inheritance can get confusing especially with multiple hands working on something, and from my experiences, there’s minimal if any effort put into best practices, so everyone does things a little different.

    • griD@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Pff, just define your own cascade with @layers :)

      Best advice I can give: Don’t use CSS directly, use a pre-processor like SASS/SCSS. It really helps keeping things sane and somewhat organized.