Introducing ReliCSS: A Tool for Front-End Archaeology
As a contracting front-end developer and Design Systems consultant, I don't always get to work on new things.
Sometimes I work within codebases. Sometimes alongside them. Sometimes these codebases are years and years old.
When you dive into these projects, you're not just reading code, you're excavating years of decisions, technological limitations, and creative workarounds from days gone by. Over the last decade, I've called this Front-End Archaeology.
The Art of Excavation
When I encounter a clearfix hack, I’m looking at a time when layout engines couldn't contain floated elements. When I see a "doubled float margin bug" fix, I’m witnessing “the scars” left by Internet Explorer 6. Every specific vendor prefix, every browser hack, and every strange !important rule tells a story of a developer fighting against the constraints of their time to ship a working product.
It’s easy to look at old code and judge it by modern standards, but Front-End Archaeology requires empathy and curiosity. It asks not just "how do I delete this?" but "why was this necessary?" and "what can we learn from it?"
Front-End Archaeology can take time. Identifying these artifacts manually requires deep historical knowledge of browser quirks that many modern developers (thankfully) never had to learn. That’s where tooling comes in.
Unearthing History with ReliCSS
I've built a tool to help with this archaeological quest: ReliCSS.

ReliCSS is an assistant during "the dig". It's a dedicated scanner that analyses CSS to identify historical artifacts or "browser hacks" that can riddle older stylesheets.
Whether you're auditing a legacy codebase for a refactor or just curious about the history in your project's stylesheets, ReliCSS helps you spot “the ghosts in the machine”.
How It Works
Currently you can paste your CSS into the ReliCSS and it will parse it and highlight any browser hacks it finds.
For every “hack”, ReliCSS shows you the browser target, the context, and some suggestions to modernise it. ReliCSS assigns a Severity Level to help you prioritise what to refactor, and what you could or should remove:
- High Severity: True “fossils”. Hacks for (now) unsupported browsers (IE6/7) or “dangerous” techniques. High-risk, obsolete, should be first targets for removal.
- Medium Severity: The middle ground. Hacks for older unsupported browsers (IE8-10). They work but they're fragile. Hacks to review to see if they're still relevant foryour actual users.
- Low Severity: Modern artifacts. Usually vendor prefixes (-webkit-, -moz-). Safe mostly, but better handled by automated tools like Autoprefixer. They're an opportunity to improve your build process.
I’ve built ReliCSS so it runs entirely in the browser, with contractors and consultants in mind who could be working with sensitive client code. When you click "Scan CSS," the analysis happens in the browser. No code gets sent to a server or anywhere else You can safely paste CSS without worrying about data leaks.
The Roadmap: Future Excavation Tools
As mentioned, right now, ReliCSS works by pasting CSS directly. But I am looking at things that can beed added and improved. Here's what's coming:
- Drag & Drop Uploads: Drop a .css file directly into the tool for instant scanning.
- URL Fetching: Point ReliCSS at a live stylesheet and let it pull the artifacts.
- Command Line Interface (CLI): This is “the big one”. I'm working on bringing ReliCSS to your terminal. You'll be able to script the excavation process, integrate these checks into your build pipelines or local dev environments, catch hacks before they get buried again.
From Archaeology to Modernisation
Front-end archaeology isn't just about admiring the ruins. It's about building on top of them safely. ReliCSS bridges the gap between the past and the present. It helps you confidently distinguish between load-bearing code and historical cruft.
By identifying which parts of your CSS exist only to support a 2006 browser, you can make informed decisions about what to keep, refactor, or delete. It can turn the daunting task of refactoring legacy CSS into an actual learning experience about web history.
If you find yourself staring at a stylesheet that looks like it survived the browser wars, give ReliCSS a try. You might learn something about where it came from and have an easier time getting it to where you want it to go.