98.css README

The project's README from github.com/jdan/98.css. As one markdown file: README.md.

98.css

npm gzip size

A design system for building faithful recreations of old UIs.

a screenshot of a window with the title 'My First VB4 Program' and two buttons OK and Cancel, styled like a Windows 98 dialog a magnified view showing pixel-perfect borders on a scrollbar and button element

98.css is a CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice.

Be sure to check out XP.css and 7.css as well.

Installation / Usage

The easiest way to use 98.css is to import it from unpkg.

<!DOCTYPE html>
<html>
<head>
  <title>98.css example</title>
  <meta charset="UTF-8" />
  <link rel="stylesheet" href="https://unpkg.com/98.css" />
</head>

<body>
  <div class="window" style="margin: 32px; width: 250px">
    <div class="title-bar">
      <div class="title-bar-text">
        My First VB4 Program
      </div>
    </div>
    <div class="window-body">
      <p>Hello, world!</p>
    </div>
  </div>
</body>
</html>

Alternatively, you can grab 98.css for the releases page or npm.

npm install 98.css

Here is an example of 98.css being used with React, and an example with vanilla JavaScript.

Refer to the documentation page for specific instructions on this library's components.

Developing

First, run npm install.

style.css is where everything happens.

You can use npm start to start a development environment that will watch for file changes and rebuild 98.css, reloading your browser in the process.

You can run a build manually with npm run build. This will write to the dist/ directory.

Issues, Contributing, etc.

Refer to the GitHub issues page to see bugs in my CSS or report new ones. I'd really like to see your pull requests (especially those new to open-source!) and will happily provide code review. 98.css is a fun, silly project and I'd like to make it a fun place to build your open-source muscle.

Thank you for checking my little project out, I hope it brought you some joy today. Consider starring/following along on GitHub and maybe reading my posts on Bluesky. ๐Ÿ‘‹

Publishing

Building the docs site: npm run deploy:docs

Publishing to npm: npm run release

License

MIT

98.css (jdan/98.css)

Searching Databaseโ€ฆ

11.5K ยทGitHub
What is this?98.css is a CSS design system that makes semantic HTML look like a Windows 98 interface, letting you build faithful retro-UI recreations.
Is it a UI framework or just a stylesheet?It's just a CSS file with no JavaScript, so it works with any frontend framework you choose.
How do I add it to my project?Import it directly from unpkg, or grab it from the releases page or npm.
Do I need any build tools or JS to use it?No, it's pure CSS applied to semantic HTML; you only need Node/npm if you want to develop or rebuild the library itself.
Does it work with React or vanilla JS out of the box?Yes, the README links working examples for both React and vanilla JavaScript usage.
Are there similar design systems for other old OS looks?Yes, the author also maintains XP.css and 7.css for Windows XP and Windows 7 style recreations.
Where can I see the full list of components?There's a dedicated documentation site listing specific instructions for each of the library's components.
Why Guy Fieri as a topic tag?It's a lighthearted, silly branding touch the author added; the project itself is explicitly described as a fun, playful side project meant to be approachable for new open-source contributors.
What are similar projects?mdb-ui-kit, pure, weui, bootstrap-table, daisyui, milligram, NES.css, yeti
Creator
jdan
Size
0.6 MB
Stars
11.5K
Age
6y
Commits ยท 90 Days