Skip to content
Creation Wasteland Logo
Y2K CSS

A CSS Library for the Discerning Millennial Nostalgist

Projects · CSS library

Y2K CSS Released

Dithering, hard shadows, bevels and other 1990s web styling as plain CSS classes. This site is built with it.

What is Y2K CSS?

Y2K CSS is a CSS library that brings the nostalgic aesthetics of the 1990s to modern web development. It features SVG based dithering, retro shadows, and a variety of styles that evoke the early days of the internet. The library is designed to be easy to use and integrate into your projects, allowing you to quickly add a touch of Y2K flair to your web applications. It is a work in progress with new styles being added regularly, and is available as an npm package.

Installation

Using npm

Import the dependency into your project:

npm i y2k-css

Old-school (HTML/CSS)

Include the compiled CSS file in your project: y2k.css (unminified) ↗

Usage

Using npm

Import the css file from the package into your (React/Next.js/etc.) project:

import "y2k-css/dist/y2k.css";

Old-school (HTML/CSS)

Link the dist/y2k.css file in your HTML:

<link rel="stylesheet" href="path/to/dist/y2k.css">

Then apply the classes to your HTML elements:

<div class="dither-black-white-8 retro-shadow-default retro-bevel-outset">
  Y2K Styled Content
</div>

License

MIT. You can view the full license on opensource.org ↗.

SHARE: