Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathankot/karma.gs
Semantic, Goldilocks Approach grid written in Stylus
https://github.com/nathankot/karma.gs
Last synced: 2 months ago
JSON representation
Semantic, Goldilocks Approach grid written in Stylus
- Host: GitHub
- URL: https://github.com/nathankot/karma.gs
- Owner: nathankot
- Created: 2012-11-22T23:04:47.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-26T05:25:47.000Z (almost 10 years ago)
- Last Synced: 2024-10-26T22:47:35.857Z (2 months ago)
- Language: CSS
- Size: 824 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Karma.gs Grid System
An opinionated Stylus Grid System for savvy front-end developers.
## Getting Started
```sh
npm install karma.gs --save-dev
```And then where you run your stylus:
```js
{ use: [require('karma.gs')()] }
```## Features
### Extensive use of `+cache()`
Which means less code duplication. E.g clearfix:
```stylus
.body
k-clearfix().main
k-clearfix()
```Outputs:
```css
.body:before,
.main:before,
.body:after,
.main:after {
content: "";
display: table;
}.body:after,
.main:after {
clear: both;
}
```## License
Copyright 2012 Nathan Kot
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.