
98.css
A CSS stylesheet that makes plain HTML look like Windows 98 interface elements.
- Stars
- 11.6k
- Forks
- 381
- Licence
- MIT
- Language
- CSS
- Last update
- 1.2 years ago
- Type
- Library
No commits in over a year — check for forks or alternatives before adopting.
What it is
98.css is a CSS file that styles standard HTML elements so they resemble the classic Windows 98 user interface. It contains no JavaScript, so it can be used alongside any frontend framework. People use it to build retro-styled windows, dialogs, and buttons for websites or design projects.
- Style a dialog box with a title bar, window body, and buttons using a single CSS file
- Recreate an old Windows 98 program window inside a web page
- Prototype a retro-themed interface in plain HTML before adding a framework
Great for
- Web developers making a retro or nostalgic website
- Designers who want Windows 98-style mockups in HTML
- Developers who want a stylesheet with no JavaScript dependency
- Anyone building a novelty or joke app in an old Windows look
Not ideal for
- Projects needing a modern, general-purpose UI kit, since it only mimics the Windows 98 look
- Teams that need accessibility guarantees, since the README does not discuss accessibility
How to get it
- 1
Install with a package manager
Install from npm
npm install 98.css - 2
Run it
- Install the package with npm, or link the stylesheet from unpkg in your HTML head.
- Create an HTML file with a div using class "window", containing a "title-bar" and a "window-body".
- Open the file in a browser to see the Windows 98 styling applied.
- 3
Get the most out of it
- Read the documentation page for instructions on each component.
- Use the React and vanilla JavaScript examples linked in the README as starting points.
- Check the magnified screenshots in the README to see how pixel-level borders are matched.
- Look at XP.css and 7.css if you want related styles for other Windows versions.
Downloads
Strengths
- Single CSS file with no JavaScript, so it fits into any frontend stack
- Available via unpkg, npm, and GitHub releases
- MIT licensed
Trade-offs
- Only covers the Windows 98 visual style, not general layout or components beyond what it styles
- The README is brief on component details and points to an external documentation site for those
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| 98.css (this) | 11.6k | Library | beginner | 1.2 years ago | Web developers making a retro or nostalgic website |
| daisyui | 42.7k | Library | intermediate | 6 days ago | Developers already using Tailwind CSS who want prebuilt components |
| css | 13.1k | Library | intermediate | 6 days ago | Developers who want to match GitHub's visual style in an existing web project |
| hyperui | 12.3k | Library | beginner | 12 days ago | Developers building marketing sites with Tailwind CSS |
| bootstrap | 175k | Library | beginner | 5 days ago | Developers building responsive websites or web app interfaces quickly |
| material-ui | 99.3k | Library | intermediate | 4 days ago | React developers who want a consistent, prebuilt set of UI components |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.