I am not allowed to credit the site that has this disaster. Its owner said “Nobody should see that”

  • @calcopiritus
    link
    63 months ago

    Aren’t classes in CSS supposed to represent visual styles? What else could they be for?

    • @[email protected]
      link
      fedilink
      213 months ago

      Pretty sure they’re referring to class names describing the visual style being applied, rather than what that class represents semantically.

      E.g. .red-bold vs. .error-text