• Stars
    star
    8,623
  • Rank 4,031 (Top 0.09 %)
  • Language
    CSS
  • License
    MIT License
  • Created about 4 years ago
  • Updated 7 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A design system for building faithful recreations of old UIs

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 subscribing to more fun things on my twitter. πŸ‘‹

Publishing

Building the docs site: npm run deploy:docs

Publishing to npm: npm run release

License

MIT

More Repositories

1

tota11y

an accessibility (a11y) visualization toolkit
JavaScript
5,036
star
2

cleaver

30-second slideshows for hackers
JavaScript
3,990
star
3

isomer

Simple isometric graphics library for HTML5 canvas
JavaScript
2,852
star
4

dynamo.js

Cycles through bits of text in place
JavaScript
624
star
5

Melopy

Python music library
Python
236
star
6

rubycards

Ruby playing cards library
Ruby
149
star
7

deepdive

deepdive
TypeScript
110
star
8

uptodate

Keep your timestamps up to date
JavaScript
88
star
9

ocaml-data-structures

Some data structures and algorithms written in OCaml
OCaml
67
star
10

notes

Turn your Notion database into a deck of cards
JavaScript
53
star
11

tinman

A tiny static-ready blog engine based on the toto library
JavaScript
34
star
12

magic-editor

LLM-powered writing experiments
TypeScript
32
star
13

hashart

an experiment in turing SHA-256 hashes into pixels
JavaScript
28
star
14

alock

Arbitrary locking mechanism for asynchronous operations
JavaScript
28
star
15

ocaml-web-framework

An HTTP server and framework written from scratch in OCaml
OCaml
25
star
16

twitter

See what’s happening in the world right now
25
star
17

compiler.lean

A formally verified compiler for a simple language with numbers and sums
Lean
24
star
18

magic-hotline

A web server which generates its HTML using ChatGPT, using only the URL
JavaScript
22
star
19

programthis

Solutions for the discussions on http://programthis.net
C
21
star
20

scheme-to-js

a scheme->js compiler written in scheme
Scheme
18
star
21

lispjs

Let's compile Lisp into JavaScript using JavaScript
JavaScript
18
star
22

jordanscales.com

My homepage
HTML
17
star
23

98.css-badges

badges for 98.css
JavaScript
17
star
24

thatjdanisso.cool

My blog
JavaScript
15
star
25

reactme

a little server to share react components
JavaScript
15
star
26

oeis

On-Line Encyclopedia of Integer Sequences gem
Ruby
14
star
27

jscal.es

source code for my blog, jscal.es
Ruby
13
star
28

reactive-js

How to invent reactive JavaScript
JavaScript
11
star
29

topological-sort

An implementation of Kahn's algorithm for topological sorting
JavaScript
11
star
30

fizzbuzz-polyglot

An experiment in writing FizzBuzz in every language, each with its own Docker container
Lua
10
star
31

notion-mailboxes

What if notion blocks had email?
JavaScript
9
star
32

notion-automations

automating notion in various ways
JavaScript
9
star
33

wordle.ml

Cheating at the game Wordle with OCaml
OCaml
8
star
34

away-message

AOL Instant Messenger "Away Message" simulator
TypeScript
8
star
35

nodeschool

My solutions for nodeschool.io
JavaScript
7
star
36

chessnet

lichess games over telnet
JavaScript
7
star
37

j-by-example

Some programs to learn the J programming language
J
6
star
38

friend-ratings

My 2-hour personal jam project. Amazon ratings for your friends.
Ruby
6
star
39

tileswap

Processing code to rearrange images to draw other images
HTML
6
star
40

ilictronix

The new ilictronix.com
Ruby
6
star
41

cleaver-retro

A dark retro theme for cleaver
CSS
6
star
42

lambda

playing around with the lambda calculus
OCaml
6
star
43

haskell-basic

A TinyBASIC interpreter written in Haskell
Haskell
5
star
44

try-j

J
5
star
45

melodica

a fun way to interact with the WebAudio API
JavaScript
5
star
46

j

Some code examples for the J programming language
J
5
star
47

try-ocaml

OCaml
5
star
48

curta

Simulator for a Curta Type I mechanical calculator
JavaScript
5
star
49

bs-redux-example

An experiment in writing Redux reducers using OCaml
JavaScript
5
star
50

wikidata-family-tree

Ancestry on wikidata
JavaScript
4
star
51

notion-script-blocks

script blocks in notion
JavaScript
4
star
52

scheme-in-48-hours

My code for the "Write Yourself a Scheme in 48 Hours" eBook – http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours
Haskell
4
star
53

gameoflife-factory

a webapp to make game of life GIFs
JavaScript
4
star
54

parser.ml

"Functional Pearls" parsing in OCaml
OCaml
4
star
55

bismuth

An experimental Scheme
OCaml
4
star
56

code

This is my code.
Python
4
star
57

ocaml-micro

An experiment in running zeit/micro using ocaml + bucklescript
OCaml
4
star
58

artfile-web

ArtFile.bin extractor
TypeScript
4
star
59

Billiards.sb

Making a billiards game with Microsoft SmallBasic - http://smallbasic.com/
3
star
60

collatz.now.sh

generating SVGs from Collatz sequences
OCaml
3
star
61

notion-for-each-row

For each row in a Notion database, run a JavaScript function
JavaScript
3
star
62

board-next

Chess boards as a service using pgn-to-svg
TypeScript
3
star
63

ocaml-rationals

Rational numbers in OCaml
OCaml
3
star
64

32x32

JavaScript
3
star
65

murray

A chrome extension to make Bill Murray pop up in your Facebook threads (rarely)
JavaScript
3
star
66

stackjs

Playing around with function composition and stack-based languages
JavaScript
3
star
67

basic2020

BASIC 2020
JavaScript
3
star
68

wordart

2
star
69

trackd

My entry for the 2014 Static Showdown
JavaScript
2
star
70

nim

The game of nim running over telnet
JavaScript
2
star
71

ocaml-calculator-game

Calculator: The Game solver
OCaml
2
star
72

tabindex

tab index visualization tool
JavaScript
2
star
73

word-by-word

Creating a story one word at a time.
JavaScript
2
star
74

99problems

I got 99 problems and haskell is a few of them.
Haskell
2
star
75

gameoflife-3d

JavaScript
2
star
76

bucklescript-vercel-example

OCaml (Bucklescript) + Vercel
Standard ML
2
star
77

jupyter-notebooks

Jupyter Notebook
2
star
78

cs370-team-programming

CS370 Creative Problem Solving and Team Programming
C
2
star
79

ocaml-tictactoe

Playing around with some OCaml + Bucklescript + Express + Socket.io
OCaml
2
star
80

adventofcode

Solutions for http://adventofcode.com/
Racket
2
star
81

markov.rb

Simple Markov generator to produce realistic-looking names.
JavaScript
2
star
82

pgn-to-svg

Generates an SVG from PGN
TypeScript
1
star
83

audio-graphing

Graph plotting questions without the graphs
JavaScript
1
star
84

picross

Interactive Picross element to experiment with React + Redux + redux-devtools
JavaScript
1
star
85

bismuth-ui

an experiment in structured editing
JavaScript
1
star
86

factor-work

Factor
1
star
87

notionml

OCaml
1
star
88

sabriel

Debrief tool
JavaScript
1
star
89

notion-augment

Augment a Notion database on command
JavaScript
1
star
90

nodemorse

Real-time telegraph simulator written in node.js & coffeescript
CoffeeScript
1
star
91

getxword

Fetches the NYTimes Crossword
Shell
1
star
92

combinatorial-games

An exploration of evaluating the results of games without chance (Nim, Tic-Tac-Toe) under perfect play.
OCaml
1
star
93

factor-docker

Learning what this Docker thing is by way of a Factor web server
Factor
1
star
94

LightsOut

Lights Out! using JavaScript & HTML5 Canvas
JavaScript
1
star
95

gamejam

A (purely) HTML clicking game made in a 1-hour Game Jam for Stevens Game Development Club
JavaScript
1
star
96

rosalind.bqn

rosalind.info
1
star
97

99-ocaml-problems

https://ocaml.org/learn/tutorials/99problems.html
OCaml
1
star
98

recursion-lab

JavaScript
1
star
99

pixel

JavaScript
1
star
100

akari-editor

Akari puzzle editor to generate playable "Light Up" puzzles from Simon Tatham's collection
CSS
1
star