/hack

Dead simple CSS framework.

Primary LanguageCSSMIT LicenseMIT

hack

npm version npm downloads Gitter

Dead simple CSS framework.

Install

$ npm install --save hack

Option #1: Use any pre-processor

import 'hack'

Option #2: hot-link the css files:

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

<!-- markdown mode -->
<body class="hack"></body>

<!-- standard mode -->
<link rel="stylesheet" href="/path/to/standard.css">
<body class="standard"></body>

<!-- dark mode -->
<link rel="stylesheet" href="/path/to/dark.css">
<body class="hack dark"></body>

<!-- dark-grey mode -->
<link rel="stylesheet" href="/path/to/dark-grey.css">
<body class="hack dark-grey"></body>

It's also available on NPMCDN:

https://npmcdn.com/hack/dist/hack.css
https://npmcdn.com/hack/dist/standard.css
https://npmcdn.com/hack/dist/dark.css
https://npmcdn.com/hack/dist/dark-grey.css

For more usages and style guideline head to hackcss.com 🎉

Development

$ npm run dev

$ npm run build

License

MIT © EGOIST