css-doodle,A web component for drawing patterns with CSS

Updated on November 04, 2023 View Times: 1178

Share on Twitter

Getting Started

Download the latest version or include it directly from a CDN:

<script src="https://unpkg.com/css-doodle@0.37.3/css-doodle.min.js"></script>
​
<css-doodle>
  /* put your code here */
</css-doodle>

You can also install it from npm and import the module in JavaScript:

npm install css-doodle

/* import it */
import 'css-doodle';

Usage

Example: https://codepen.io/yuanchuan/pen/OJRqGvz

Document

https://css-doodle.com/

Share on Twitter
Catogery:Code