项目作者: fqd511

项目描述 :
A tool to render different background in specific part of a page, background code are from codepen.io or other website
高级语言: JavaScript
项目地址: git://github.com/fqd511/background.git
创建时间: 2020-05-22T16:10:33Z
项目社区:https://github.com/fqd511/background

开源协议:MIT License

下载


background

A tool to render different backgrounds, background code are from website like codepen.io

WARNING

this repository is abandoned , do not use it

What is this?

When you found an amazing css effect on website like codepen.io, but it’s in seperate files(html, javascript, css), you cannot use it in your project immediately,and here I offer a solution:

How to use

  1. // install it in your project
  2. npm install @digvan/background
  3. // in you project,'canvas-id' is canvas element id, 'dynamicParticle' is from a effect list below
  4. import background from "@digvan/background"
  5. background('canvas-id').render('dynamicParticle')

Effect list