web development documents, floating properties of CSS
Relative positioning
The position of the element is calculated relative to its original position.
position:relative;
By default, it refers to the original point of the parent, which is the original point. It is positioned with top, right, bottom and left.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<ti ...
Added by Josh1billion on Sat, 15 Jan 2022 17:16:00 +0200
11. Record and summary of Xiaomi's interview questions
Self introduction and internship program
Keep alive principle
nextTick
What is nextTick?
A deferred callback is performed after the end of the next DOM update cycle. Use this method immediately after modifying the data to get the updated dom
The main function of nextTick is to let the callback function act on the updated DOM after upd ...
Added by s_r_elliott on Sat, 15 Jan 2022 09:39:32 +0200
web front end development course training, JavaScript if keyword
The canvas element is used to draw graphics on a web page.
What is canvas?
HTML5 elements are used for drawing graphics and are completed by scripts (usually JavaScript)
Labels are just graphics containers, and you must use scripts to draw graphics.
You can use canvas to draw paths, boxes, circles, characters and add images in many ways.
B ...
Added by Ton Wibier on Sat, 15 Jan 2022 08:49:09 +0200
web front end development specification, list tags of HTML common tags
As I mentioned earlier, each element in the document tree is just a rectangular box. These boxes have a background layer, which can be completely transparent or other colors, or a picture. This background layer is controlled by 8 CSS attributes (plus 1 abbreviated attribute).
background-color
The background color property sets the background ...
Added by Pottsy on Sat, 15 Jan 2022 07:03:13 +0200
web front end development specification manual, 95 pages, notes sharing of primary front end module
Mind map
closure
Before understanding closures, let's learn about the memory release of the parent scope and stack.
Concept of parent scope
Where is the parent scope of a function created and who is the parent scope
var a = 10
function foo(){
console.log(a)
}
function sum() {
var a = 20
foo()
}
sum()
/* output
10
/ ...
Added by Blissey on Sat, 15 Jan 2022 05:59:54 +0200
What do you know about CopyOnWriteArrayList?
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python practical quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475
1, Abstract
Before introducing CopyOnWriteArrayList, let's take a look at the execution results of the following methods. The code content is as f ...
Added by kickstart on Sat, 15 Jan 2022 05:00:39 +0200
web front-end development skills, CSS text style values
I think everyone must have read the explanations and sermons of various "strategic models" more or less. This article is to "clarify" the strategic models and try to answer the following questions:
1. How does the policy pattern optimize the business logic code structure?
2. How can you kill a chicken with an ox knife? Jus ...
Added by nashyboy on Sat, 15 Jan 2022 04:26:46 +0200
Where is the html5 front-end development training? html5 front-end development school
First, take a look at a classic code and count its execution time:
// test_predict.cc
#include <algorithm>
#include <ctime>
#include <iostream>
int main() {
const unsigned ARRAY_SIZE = 50000;
int data[ARRAY_SIZE];
const unsigned DATA_STRIDE = 256;
for (unsigned c = 0; c < ARRAY_SIZE; ++c) data[c] = std::r ...
Added by roopali on Sat, 15 Jan 2022 03:01:43 +0200
web development, online training, jquery display and hide animation
javascript article
1, Data type
There are several types of JavaScript
Basic data types: undefined, null, boolean, number, string, symbol (new data type of ES6)Reference data types: object, array, function (collectively referred to as object)
Data type detection
typeof , for basic data types, the correct type can be displayed except , nul ...
Added by brighton on Sat, 15 Jan 2022 00:54:52 +0200
Analysis of leetcode problem solving ideas 735 - 743 questions
Star collision Given an integer array astroids, the planets in the same row are represented. For each element in the array, its absolute value represents the size of the planet, and positive and negative represents the moving direction of the planet (positive represents moving to the right, negative represents moving to the left). Each planet m ...
Added by CrusaderSean on Sat, 15 Jan 2022 00:33:37 +0200