Build a retro-themed portfolio or personal site with Windows 98 window frames, buttons, and title bars.
Add nostalgic Windows 98 styling to a React or Vue app by importing the stylesheet as an npm package.
Create a fun error page or landing page styled like a classic Windows dialog box with pixelated borders.
Prototype a desktop-style UI in plain HTML using window, title bar, and scrollbar components from the library.
No install needed, link the stylesheet from the unpkg CDN and apply class names to standard HTML elements.
98.css is a stylesheet that makes web pages look like they were built in Windows 98. You add a single CSS file to your HTML page, apply a few class names to your elements, and your buttons, windows, scroll bars, and form controls take on the pixelated borders and gray aesthetic of the Windows 98 desktop. No JavaScript is included, so it works alongside any framework you might already be using, whether that is React, Vue, or plain HTML. The idea is simple: write standard semantic HTML, link in the stylesheet from a CDN like unpkg, and the visual transformation happens automatically through CSS alone. The README shows a short example where a div with the class name "window" and a nested title bar produces something that looks like a classic Windows dialog box, complete with the old-style title bar and close button styling. You can also install it through npm if you are working in a JavaScript project and want to manage it as a dependency. Code sandbox examples are linked in the README for those who want to see it working in React or plain JavaScript without setting anything up locally. The project is maintained as a hobby and the author welcomes contributions, including from people who are new to open source. Issues and pull requests are accepted on GitHub. Related projects, XP.css and 7.css, extend the same idea to the Windows XP and Windows 7 visual styles. Full component documentation is available at the project website. For developers who want to contribute to the stylesheet itself, the setup is npm install followed by npm start, which watches for changes and rebuilds automatically. The entire visual logic lives in a single style.css file. The code is released under the MIT license.
← jdan on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.