html summary includes weird box, ordinary box, center, Holy Grail layout, double flying wing layout, etc
I haven't opened my blog for a long time. I found that my previous blog had a certain number of views. I was surprised and felt that blogging was very meaningful. Let's talk about html related knowledge today
1. Two box models
As we all know, the element in our page is a box, which has width, height, border, padding and margin.
Calculation o ...
Posted by janet287 on Mon, 21 Feb 2022 19:57:23 +0100
CSS Common Property Documents
1. How to use CSS
<!--1.Reference External css-->
<link rel="stylesheet" type="text/css" href="mystyle.css">
<!--2.Internal use css-->
<style>
body{background-color: linen;}
</style>
<!--3.Hanlin Academician css-->
<div style="color:red;">text</div>
2. Selector
Simple selector
NameUsage meth ...
Posted by Vacman on Mon, 21 Feb 2022 18:41:47 +0100
Redux status management
redux Chinese document https://www.redux.org.cn/
redux official website https://redux.js.org/
The so-called state management is to manage the data in the application.
Concept: almost all projects with chaotic data flow management can't go online. A good project must have very good data flow management.
How to use Redux? Remember "thre ...
Posted by psycovic23 on Mon, 21 Feb 2022 15:17:03 +0100
Three attributes of components: state, props and refs
1, Three attributes of component instance
(1)state
View status: there is a property on the written component instance, state, which represents the status of the component.
Next, we write a stateful component:
<body>
<div id="test"></div>
<script type="text/babel">
// Create component
class ...
Posted by misxa on Mon, 21 Feb 2022 14:27:37 +0100
Typescript - Advanced
object-oriented That is, the operations in the program need to be completed through objects, for example:
To operate the browser, use the window objectThe document object is used to manipulate the web pageTo operate the console, use the console object
In the program, all objects are divided into two parts: data and function. There is no more ...
Posted by dieselmachine on Mon, 21 Feb 2022 13:39:01 +0100
The difference between vue3 and vue2 (you don't know the details are all here)
Let's talk about the current market development and use. At present, there are still few enterprises using vue3 in 2021, and they are basically developed in the form of vue2. The development mode of vue3 is very similar to react. At this time, someone will think whether it is useful for me to learn vue3. Gan, he mews. Don't get excited and list ...
Posted by duhhh33 on Mon, 21 Feb 2022 12:49:20 +0100
Vue tutorial details V (components)
Components are reusable Vue instances, so they receive the same options as new Vue, such as data, computed, watch, methods, and lifecycle hooks. The only exceptions are instance specific options like el.
Components are collections of code (html/css/js) and resources (mp3/mp4/ttf/zip) used to achieve local (specific) functional effects
Advanta ...
Posted by Ajdija on Mon, 21 Feb 2022 12:24:01 +0100
pinia introduction and setup syntax
pinia introduction and setup syntax
1. Basic characteristics of Pinia
pinia is also a Vue state management tool, which has many similarities with vuex. In essence, he was developed by the core members of vuex team, and put forward some improvements on vuex. Compared with vuex, pinia removes the distinction between synchronous function Mutatio ...
Posted by dk4210 on Mon, 21 Feb 2022 11:59:16 +0100
ES6 of JavaScript improvement class
A trip to the Empire??
content
address
Summary of JavaScript Foundation (I)??
https://blog.csdn.net/Augenstern_QXL/article/details/119249534
Function and scope of JavaScript Foundation (2)??
https://blog.csdn.net/Augenstern_QXL/article/details/119250991
JavaScript based objects and built-in objects (3)??
https://blog.csdn.net/Augenstern ...
Posted by The Stranger on Mon, 21 Feb 2022 11:53:22 +0100
JavaScript advanced tutorial (object-oriented programming)
catalogue
object-oriented programming
Classes and objects in ES6
Constructors and prototypes
Object prototype__ proto__
Constructor constructor
The relationship among constructor, instance and prototype object
Prototype chain
Extend built-in objects
inherit
object-oriented programming
There are two major programming ideas: process ...
Posted by GiaTuan on Mon, 21 Feb 2022 11:45:46 +0100