Hasty Briefsbeta

Bilingual

CSS Curiosities of the Past

5 days ago
  • CSS was often used beyond its intended purpose, relying on browser-specific hacks to target different browsers.
  • Internet Explorer had numerous non-standard CSS behaviors, such as the 'star hack' and treating arbitrary strings as !important.
  • CSS expressions allowed JavaScript execution in CSS but were performance-heavy and removed in IE8.
  • Internet Explorer's filters provided visual effects like opacity and gradients, but required layout and had limitations.
  • HTML Components in IE enabled scripting via CSS but were replaced by modern Web Components.
  • Vendor prefixes were used for experimental features but led to compatibility issues, prompting a shift to feature flags.
  • Browser-specific techniques like clearfix, cursor hacks, and scrollbar styling addressed IE's unique rendering quirks.