Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moyus/pointcss

A lightweight and flexible CSS Framework for building modern responsive web apps
https://github.com/moyus/pointcss

bem css flexbox framework front-end mobile-friendly point responsive sass web

Last synced: about 1 month ago
JSON representation

A lightweight and flexible CSS Framework for building modern responsive web apps

Awesome Lists containing this project

README

        

![npm (scoped)](https://img.shields.io/npm/v/@moyu/pointcss?style=flat-square)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@moyu/pointcss?style=flat-square)

A lightweight and flexible CSS Framework for building modern responsive web apps.

- Built with flexbox
- Mobile friendly layout
- ~12KB minified and gzipped

## Installation

There are 3 ways to get started

##### Yarn
```sh
yarn add @moyu/pointcss
```

##### NPM
```sh
npm install @moyu/pointcss --save
```

##### Download and use production file
```html

```

## Customization
**pointcss** is coded in [SASS](http://sass-lang.com/), If you're familiar with it, You can continue

##### Install the dependence
```sh
yarn add @moyu/pointcss --dev
```

##### Set your variables
you can reference all initial variables in `scss/_variables.scss`
```scss
$color-primary: #636AFF; // primary
$color-danger: #ff2d20; // negative
$color-success: #15CD72; // positive
$color-info: #0069ff; // accent
$color-warning: #ED6E33; // warning
...
```

##### Import pointcss at the end of your code
```scss
// overwrite variables
$color-primary: #636AFF;

// your code

@import "node_modules/@moyu/pointcss/point"
```

## Browser Support
pointcss uses [Normalize.css](https://necolas.github.io/normalize.css/) for CSS
reset and [Autoprefixer](https://github.com/postcss/autoprefixer) to make styles
compatible with earlier browser versions. For best user experience, these
browsers are recommended:

- Chrome
- Firefox
- Safari
- Opera
- Microsoft Edge
- Internet Explorer 10+

## Copyright and License
- Designed and built by [MOYU](https://moyu.io)
- Licensed under the [MIT license](https://github.com/moyus/point/blob/master/LICENSE)