NES-style CSS Framework | ファミコン風CSSフレームワーク


NES.css is a NES-style(8bit-like) CSS Framework.

Gitter Commitizen friendly



NES.css is available via either npm (preferred), Yarn, or a CDN.

via package manager

npm install nes.css
# or
yarn add nes.css

Our package.json contains some additional metadata under the following keys:

  • sass - path to our main Sass source file
  • style - path to our non-minified CSS
AltCSS(sass, scss...)
// style.scss
@import "./node_modules/nes.css/css/nes.css"
// script.js
import "nes.css/css/nes.min.css";

You need to install css-loader.

<!-- index.html -->
    <link rel="stylesheet" href="./node_modules/nes.css/css/nes.min.css">

via CDN

Import the CSS via a <link /> element:

<!-- minify -->
<link href="[email protected]/css/nes.min.css" rel="stylesheet" />
<!-- latest -->
<link href="[email protected]/css/nes.min.css" rel="stylesheet" />
<!-- core style only -->
<link href="" rel="stylesheet" />


NES.css doesn't provide any fonts, but we do maintain the following list of fonts that we recommend for usage alongside the library.

Language Font
(Default) Press Start 2P
English Kongtext
Japanese 美咲フォント
Japanese Nu もち
Korean 둥근모꼴
Chinese Zpix (最像素)


NES.css only provides components. You will need to define your own layout.

The recommended font for NES.css is Press Start 2P. However, Press Start 2P only supports English characters. When you're using this framework with any language other than English, please use another font. Follow the Google Fonts instructions about how to include them, or simply include it as below:

    <link href="" rel="stylesheet">
    <link href="" rel="stylesheet" />

      html, body, pre, code, kbd, samp {
          font-family: "font-family you want to use";

CSS Only

NES.css only requires CSS and doesn't depend on any JavaScript.

Browser Support

NES.css is compatible with the newest version of the following browsers:

  • Chrome
  • Firefox
  • Safari


  • IE/Edge

Copyright and license

Code and documentation copyright 2018 B.C.Rikko. Code released under the MIT License. Docs released under Creative Commons.


If you'd like to help us out with the project, we welcome contributions of all types! Check out our for more details on how you can help make NES.css amazing!