HTML Entry source code analysis
brief introductionFrom the birth reason of HTML Entry - > principle description - > practical application - > source code analysis, I will take you to analyze the HTML Entry framework in an all-round way.prefaceThe word HTML Entry may be unfamiliar to you. After all, what is HTML Entry on google? Can't find the right results. But if yo ...
Added by ram4nd on Sat, 05 Feb 2022 13:06:47 +0200
The third network front end training (CSS)
CSS: cascading style sheets used to optimize pages.
1. Basic use of CSS
1.1 basic CSS syntax
css style consists of a selector and one or more with ";" Separated style statements. Each style contains a css value.
h1{color: yellow;background-color: red;} H1 is the selector (the labe ...
Added by Mike-2003 on Sat, 05 Feb 2022 13:03:48 +0200
Web storage application cache
There are two storage methods in H5
1,window.sessionStorage session storage:
Save in memory. The lifecycle is to close the browser window. That is, the data is destroyed when the window is closed. Data can be shared in the same window.
2,window.localStorage local storage:
It may be saved in the browser memory or on the hard disk. Perm ...
Added by Jas on Sat, 05 Feb 2022 11:56:51 +0200
[HTML/CSS] Class and Class Selector
It's interesting
The basic rules of the game CSS are (Funny)
class
Definition
I understand classes as special tags
Programmers can customize classes, prefixed with "."
.Custom Class Name {Attribute: Value; Attribute: Value;.........}
For example: red{color:red;}
You can also modify the preset label without adding "."
Click ...
Added by Aérolithe on Fri, 04 Feb 2022 19:24:51 +0200
JavaScript extracts similar colors and approximate colors
The project requires the extraction of similar colors in canvas, and the specific requirements will not be introduced. Here we will draw out and write an article separately. In the project, the canvas here is actually a map. In order to demonstrate, there is no need to go on the map. You can directly load a picture with canvas
const canvasDom ...
Added by Brenden Frank on Fri, 04 Feb 2022 15:08:36 +0200
Vue.js official routing manager takes you to get started quickly
Introduction to Vue router
Routing is divided into front-end routing and back-end routing
Back end Routing: usually, users send URL requests. The server intercepts requests according to different URLs. The server returns different pages
Front end Routing: the front end returns different pages according to different requests. In single page ...
Added by rajivgonsalves on Fri, 04 Feb 2022 14:06:48 +0200
Source code analysis vue3 what does createapp do
What happens when we use createApp to create vue app instances like this?const { createApp } = Vue
createApp({
setup() {
return {
}
}
})
.mount('#app')Let's have a look.First, enter the createApp function exported by vue, which combines all parameters into args, calls the ensurerender function and createApp on its return dat ...
Added by andrew_ww on Fri, 04 Feb 2022 14:03:54 +0200
Flutter # routing management
In mobile development, route usually refers to Page, which is the same as the route concept of single Page application in Web development. Route usually refers to an Activity in Android and a ViewController in iOS. Route management / navigation management, which manages how to jump between pages, will maintain a route stack. The route push oper ...
Added by sinbad on Fri, 04 Feb 2022 12:07:39 +0200
The front end realizes QQ chat
Because the company dating applet has a chat module, it needs to realize a function like qq bubble.
If you can use "point nine" in the development of Android platform:
What "point nine" is: it is a special picture developed by android. The picture in this format is generated by ADT's own editing tool, and uses the method o ...
Added by timcapulet on Fri, 04 Feb 2022 10:54:00 +0200
Full parsing of DOM operation event syntax (GIF dynamic diagram, code combination can be seen)
catalogue
1, Three elements of event binding
1.1 # label object
1.2 event type
1.3 event handling function
1.4 event binding syntax form
1.4.1 # grammatical form I
1.4.2} grammatical form II
1.4.3 differences between on syntax and event listening syntax
1.5 event binding syntax compatibility
1.5.1 # standard browser
1.5.2 # lower v ...
Added by kingbeastie on Fri, 04 Feb 2022 09:44:56 +0200