Tech News
← Home  ·  All topics

Star Hack

1 GoKawiil brief on this topic

CSS quirks reveal decades of browser-specific hacks like IE's 'star hack'

A retrospective catalogs odd, non-standard CSS behaviors that browsers—especially old versions of Internet Explorer—have accepted over the years, such as property prefixes with asterisks, underscores, or hyphens, and near-arbitrary strings after an exclamation mark being treated as !important. These tricks let developers target specific browsers at a time when CSS lacked conditional logic and browser rendering was wildly inconsistent.