2.0.0 • Published 1 year ago
maxxrl-background v2.0.0
Angular Animated Background | by maxxrl
Installation
npm install maxxrl-background
Usage
Add module in app.module.ts
import {BackgroundModule} from "maxxrl-background";
Add in imports section
imports: [
BrowserModule,
BackgroundModule
]
Add in app.component.html pass any css color you like - make sure parent element is position:relative
<div style="position:relative; height: 100vh;">
<animated-circle-background backgroundColor="#202124" circleColor="#FFFFFF33"></animated-circle-background>
</div>
License
- MIT