Tiktok is convenient, small air conditioning special effect html+css+js

Look at the effect first (the source code is at the end): The video effect is as follows, with sound effect Station B: A fan shared this effect with me. I thought it was very interesting, and then studied it. The specific implementation is as follows (there may be many codes, but they are relatively simple. Come on): Implementation process ...

Added by neveriwas on Mon, 07 Mar 2022 02:34:18 +0200

Take you hand-in-hand for 10 minutes to create a simple Markdown editor

preface In my recent project, I need to implement a similar framework of reamark down: My first thought is that if you can use excellent open source, you must use open source. After all, you can't always build wheels repeatedly. So I asked a lot of friends in my front-end group. They all gave me a bunch of open-source markdown editor projec ...

Added by pagegen on Mon, 07 Mar 2022 02:33:00 +0200

I optimized the progress bar and improved page performance by 70%

preface Hello, I'm zero one. Recently, I'm going to talk about code in the group, so I sorted out the business code before the next project. In the process of combing, I saw a progress bar component written very well, which reminds me of the progress bar code I wrote when I first started preschool. Compared with this, it's really too far away ...

Added by Frag on Mon, 07 Mar 2022 02:26:59 +0200

Summary vue2 0 and vue3 The difference between 0 allows you to get started quickly

1:vue3. Difference between 0 and 2.0 2.0 bidirectional data binding Vue2.0 uses object defineProperty Principle: by using object Defineproperty to hijack the getter and setter operations of object properties, and send a notification when the data changes // data let data = { title: '', // Backup data _data: {} } // Define properties ...

Added by gusaps on Mon, 07 Mar 2022 02:22:06 +0200

Handwritten Promise? ∑(っ ° Д °;) It's so simple

preface Unknowingly, it has been delayed for five months. This year (lunar calendar) is really busy. I'm so busy that I'm not interested in blogging. Recently, on a whim, I realized a Promise according to my own ideas. I wrote it quickly and the code is quite simple. I'd like to record and share it as the opening blog post in 2022. Initial re ...

Added by rageh on Mon, 07 Mar 2022 02:16:00 +0200

HTML learning notes

HTML 1: Basic cognition Understanding web pages 1: What is a web page Text, pictures, audio, video and hyperlinks 2: What is the essence behind the web page Front end code 3: What is the code transformed into an interface Browser parsing and rendering Five browsers 1: Browser It is the platform for web page display and operation 2: ...

Added by roshanjameer on Sun, 06 Mar 2022 15:06:05 +0200

A summary of the new features of es6

1.let & const let, similar to var, is used to declare variables characteristic: let cannot declare variables repeatedly, var can declare variables repeatedly;Block level scope: there are global scope, function scope and eval scope in es5; Block level scope is introduced in es6, and the variables declared by let are valid in the block l ...

Added by twigletmac on Sat, 05 Mar 2022 22:12:50 +0200

Create an online music player using HTML, CSS and JS (including free and complete source code)

Jump straight to the end Get the complete source code Today, I'll take you to create with HTML, CSS and JS music player , no other libraries are used. Our music player has three parts. Home screen, player section and playlist section. Our home page section has a smooth work slider and horizontal scrolling. The best part of this music play ...

Added by mslinuz on Sat, 05 Mar 2022 21:55:35 +0200

An article takes you to use vue to complete a complete background

introduce vue-element-admin Is a background front-end solution based on vue and element-ui realization. It uses the latest front-end technology stack, built-in i18 internationalization solution, dynamic routing and permission verification, refines the typical business model and provides rich functional components. It can help you quickly build ...

Added by fandelem on Sat, 05 Mar 2022 21:37:07 +0200

Understand the difference between setup() and < script setup > < script > in vue3

setup () Setup () is a vue3 newly added component. Vue3 adopts the composite API. In order to use the composite API, we need an entry, which is called setup in the vue3 component. (to put it simply, do not use the data, method and calculated in vue2. All data and methods are written in setup.) Let's take a simple example: <template> ...

Added by Helios on Sat, 05 Mar 2022 21:30:27 +0200