The dynamic particle effects are as follows:Install the pluginnpm install vue-particles --save-dev Import globally in main.js file import VueParticles from 'vue-particles' Vue.use(VueParticles) Use in vue file <vue-particles color="#409EFF" :particleOpacity="0.7" :particlesNumber="60" shapeType="circle" :particleSize="6" linesColor="#409EFF" :linesWidth="1" :lineLinked="true" :lineOpacity="0.4" :linesDistance="150" :moveSpeed="3" :hoverEffect="true" hoverMode="grab" :clickEffect="true" clickMode="push"> </vue-particles> Use dynamic particles as the background image. When a new div needs to be presented, you will find that the div cannot cover the vue-particles content and will be displayed later in turn. Therefore, <style> #particles-js { width: 100%; height: calc(100% - 100px); position: absolute; } </style> About the above attributes:
This is the end of this article about the implementation of the dynamic particle background plug-in for the Vue login page. For more related Vue dynamic particle background content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: mysql-8.0.16 winx64 latest installation tutorial with pictures and text
>>: How to install a virtual machine with Windows services on Mac
Table of contents question background Idea & ...
In the previous article, we talked about MySQL tr...
This article introduces the development environme...
Description Solution VMware 15 virtual machine br...
Web Services are concerned with application-to-ap...
Step 1: Add Ubuntu source Switch to root su root ...
Note: The system is Ubuntu 14.04LTS, a 32-bit ope...
We often see ads appear after a few seconds and t...
1. Overview of DDL Atomicity Before 8.0, there wa...
Solve the problem that the responseText returned ...
The company's service uses docker, and the di...
Create a new server.js yarn init -y yarn add expr...
Table of contents accomplish: Summarize: Not much...
Preface Many years ago, I was a newbie on the ser...
Table of contents Preface 1. Deployment and Confi...