Git Product home page Git Product logo

win98.css's Introduction

win98.css

Windows 98 inspired CSS, originally created for my (outdated) NeoCities site https://flipp3rrr.neocities.org/.

Installation

Basic CSS

First put the win98.css and mwin98.css files in the root directory of your site, then adde the code below to the <head> in your html files to use the CSS. For an example of this see example.html.

<link rel="stylesheet" type="text/css" href="/mwin98.css" media="screen, handheld">
<link rel="stylesheet" type="text/css" href="/win98.css" media="screen  and (min-width: 45em)">

Navbar

To use the navbar you need a little bit more code. First put a <div class="navbar"> in your <body>, this is the navbar itself and it will stretch itself to the same width as the rest of your content. Now you can add a <a href="url">Page</a> for every page on your site. For the current page it is recommended to also add a class="active" to your <a> tags. For an examle check navbar.html.

<div class="navbar">
    <a href="url">Home</a>
    <a href="url">Page 1</a>
    <a class="active" href="url">(current) Page 2</a>
    <a href="url">Page 3</a>
</div>

Buttons

In the /buttons/ directory you'll find 88x31 GIF files, these can be used as retro-styled buttons or for information like supported browsers. To edit the original .piskel files you should use https://www.piskelapp.com/. Below is an example on how to use these buttons, if you don't want the GIF to be a link simply remove the <a> and </a>.

<p><a href="url"><img class="smallbutton" src="/buttons/github.gif" alt="View this on my Github"></a></p>

Fonts

win98.css was originally made with SHPinscher, but any font would work.

win98.css's People

Contributors

flipp3rrr avatar imgbotapp avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.