Socket
Socket
Sign inDemoInstall

@moyu/pointcss

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @moyu/pointcss

A flexible CSS Framework for building modern responsive web apps


Version published
Weekly downloads
20
Maintainers
1
Install size
260 kB
Created
Weekly downloads
 

Readme

Source

npm (scoped) npm bundle size (scoped)

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
yarn add @moyu/pointcss
NPM
npm install @moyu/pointcss --save
Download and use production file
<link rel="stylesheet" href="dist/point.min.css" />

Customization

pointcss is coded in SASS, If you're familiar with it, You can continue

Install the dependence
yarn add @moyu/pointcss --dev
Set your variables

you can reference all initial variables in scss/_variables.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
// overwrite variables
$color-primary:                         #636AFF;

// your code

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

Browser Support

pointcss uses Normalize.css for CSS reset and 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+

Keywords

FAQs

Last updated on 17 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc