NES.css is a NES-style(8bit-like) CSS Framework.
NES.css is available via either npm (preferred) or Yarn, or a CDN.
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 filestyle
- path to our non-minified CSSImport the CSS via a <link />
element:
<!-- minify -->
<link href="https://unpkg.com/nes.css@0.0.2/css/nes.min.css" rel="stylesheet" />
<!-- latest -->
<link href="https://unpkg.com/nes.css/css/nes.min.css" 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 | 둥근모꼴 |
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:
<head>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://unpkg.com/nes.css/css/nes.css" rel="stylesheet" />
<style>
html, body, pre, code, kbd, samp {
font-family: "font-family you want to use";
}
</style>
</head>
NES.css only requires CSS and doesn't depend on any JavaScript.
NES.css is compatible with the newest version of the following browsers.
Untested
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 CONTRIBUTING.md
for more details on how you can help make NES.css amazing!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。