Skip to content

Perfect is a popular CSS framework based on the modern browser. It can bring you perfect experience and the newest css technology. It is a CSS framework in the future.

License

Notifications You must be signed in to change notification settings

enjoyfuture/perfect-css

Repository files navigation

perfect

Perfect is a popular CSS framework based on the modern browser. It can bring you perfect experience and the newest css technology. It is a CSS framework in the future.

http://perfect-css.com/

Note: The Project is developing. In looking forward

Documentation

The Perfect docs use the Jekyll to generator.

You can learn perfect css from the official http://perfect-css.com/ .

Of course, If you want to join in and contribute to improve the document or translate this document. Please exec the following command to start the document service.

Clone repository from github

git clone git@github.com:joy-web/perfect-css.git
cd perfect-css
npm install

Initialize the development environment

At first, You need to install Jekyll. The Perfect CSS docs is based on the Jekyll.

Note: Jekyll is running in the ruby environment. You need to install Ruby.

  1. Make sure you have installed the latest version ruby. And we use the rvm to manage ruby.

      rvm install 2.5.1 # or the latest version for ruby
      gem update
      # or
      sudo gem update
  2. Install jekyll and dependency package.

    Note: Make sure to install dependencies in the current directory('perfect-css').

    gem install jekyll bundler
    bundle install
    # or
    bundle update

    You can refer to more information to http://jekyllrb.com/

Jekyll server

Start server in the local

npm start

Then, You can open the serve in browser

http://localhost:9090/

Perfect official website

http://perfect-css.com

Build

npm run build

Build jekyll doc

npm run jekyll:docs

Test

npm run test

SCSS test

npm run test:scss

Javascript test

npm run test:js

lint and fix lint

We use eslint to normalize the JavaScript code and use stylelint to normalize the CSS code.

You can exec the following command to lint or fix the code.

npm run lint:css
npm run lint:js
npm run lint
npm run fix:css
npm run fix:js
npm run fix

Publish to npm

npm publish

push github pages to git branch gh-pages

npm run github-pages

If there is an error, you can view github-pages.md

Other Development

Rouge Theme

Generate a highlighter rouge theme

npm run rouge-theme

Note:

View Css prefix

npm run css-prefix

Generate Perfect CSS dist zip

npm run generate-zip

Issue

https://github.com/joy-web/perfect-css/issues

CHANGELOG

Please view here

About

Perfect is a popular CSS framework based on the modern browser. It can bring you perfect experience and the newest css technology. It is a CSS framework in the future.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published