98.css: A CSS Library to Recreate the Windows 98 User Interface

98.css: A CSS Library to Recreate the Windows 98 User Interface

I created 98.css, a lightweight CSS library that lets you build faithful recreations of the Windows 98 user interface using semantic HTML. This project focuses on accessibility and compatibility with any frontend framework, requiring no JavaScript. You can easily style buttons, checkboxes, sliders, and windows to look like the classic operating system while maintaining modern web standards.

This library does not contain any JavaScript, it merely styles your HTML with some CSS.
  1. akx

    Something that always irked me about 98.css and its friends was the ever-so-slightly-incorrect version of MS Sans Serif.

    Finally decided to do something about it: https://github.com/jdan/98.css/pull/230

  2. jordanscales

    Author here! This was my burnout recovery project and holds a place near and dear to my heart. https://notes.jordanscales.com/98-css-reflections

  3. sodapopcan

    Flat design is so ridiculous. Made someone a bunch of money. Now everyone follows like sheep. Sorry for the doomer comment but, like, really. I'd love to say that I'm surprised that we haven't gotten over this, but given it's been... 20 years (?)... I'm not surprised.

    Also, the way multi-row tabs Just Work in the UIs of yesteryear *chef's kiss*

  4. gnabgib

    Popular in

    2024 (471 points, 93 comments) https://news.ycombinator.com/item?id=42056918

    2022 (606 points, 182 comments) https://news.ycombinator.com/item?id=33310554

    2020 (838 points, 211 comments) https://news.ycombinator.com/item?id=22940564

  5. OsrsNeedsf2P

    I really want to make one of my websites use this.. I just can't think of one that would fit.

    Also shout out XFCE-winxp-tc, which makes your Linux look like Windows XP. Lots of people know about Chicago95, but this project is excellent for that 2004 vibe

    [0] https://github.com/rozniak/xfce-winxp-tc

  6. armchairhacker

    Why isn’t all the text in the Microsoft font?

  7. zemo

    unjokingly I think the fact that we removed grayed out buttons for "the button just doesn't appear" is one of the more confusing UI trends of our day and the sight of a grayed out button warms my heart

  8. hilti

    I love this UI, so here is my attempt to re-create this using ImGUI

    https://github.com/marchildmann/BevelDesk

More from this day

2026-07-24