项目作者: MicroDreamIT

项目描述 :
Drawing shapes are very easy, like
高级语言: CSS
项目地址: git://github.com/MicroDreamIT/ShapeCss.git
创建时间: 2016-10-02T09:25:11Z
项目社区:https://github.com/MicroDreamIT/ShapeCss

开源协议:MIT License

下载


Supporting Shapecss Awesome

ShapeCss is an MIT-licensed open source project. Its ongoing development is made possible thanks to the support by these awesome backer.
If you’d like to join them, check out shapecss.com’ developers campaign.

Intro

We found making geometrical shape is not easy but its cumbersome, and need to write many lines of css and javascripts. So we wanted to make it flexable like tag, like h1, h2 or p or body. So you can use this tags, circle, triangle, square, rectangle, parallelogram.

Please download this two files from here

or

  1. <link href="https://www.shapecss.com/public/shape.css" rel="stylesheet">
  2. <!--IMPORTANT: script must be add in the bottom of the body tag-->
  3. <script src="https://www.shapecss.com/public/shape.js"></script>

Example

  1. <!--basic circle, easy-->
  2. <circle></circle>
  3. <!--circle with radius 400px and background blue-->
  4. <circle shape-background="blue" shape-radius="400px"><circle>

Documentation

check shapecss website and find easy and clean documentation.

Contribuition

If you find any bug or want to contribute, you are always welcome by submitting a pull request

Stay in touch

For latest releases, announcements and fun, follow on Twitter: @microdreamit

License

MIT