CSS selector Type Summary
CSS selector Type Summary
1. Universal selector
It is generally used to make some general style settings for all elements, such as clearing inner margin, outer margin, etc. However, the efficiency is relatively low, so try not to use it.
* {
margin: 0;
padding: 0;
}
2. Element selector
Also called "label selector" ...
Added by Tsukasa on Sun, 19 Dec 2021 07:36:26 +0200
web mobile terminal (learning notes)
I Viewport
A viewport is the area of the screen where the browser displays the contents of the page. Viewports can be divided into layout viewports, visual viewports, and ideal viewports
1. layout viewport
The browser of general mobile devices has a layout viewport by default, which is used to solve the problem of displaying early PC p ...
Added by barnbuster on Sun, 19 Dec 2021 07:03:55 +0200
[learning notes] advanced JavaScript of "Web APIs"
preface
1.1 composition of JS
1.2 JS foundation stage and Web APIs stage
2.1 API
2.2 Web API
2.3 API and Web API summary
1, DOM
1. Introduction to DOM
1.1. What is DOM
Document Object Model (DOM) is a standard programming interface recommended by W3C organization to deal with extensible markup language (HTML or XML)
W3 ...
Added by lorenzo-s on Sat, 18 Dec 2021 20:06:12 +0200
Notes on Web front end development -- Chapter 3 CSS language section 2 CSS selector
preface
CSS code consists of a selector and one or more declarations. A selector is an HTML tag that needs to change its style. In CSS, each code is separated by semicolons. Each code is a declaration, and the declaration is enclosed in curly braces {}.
Previously, we explained the basic concept of CSS. Selectors are HTML tags that ...
Added by leena on Sat, 18 Dec 2021 17:52:59 +0200
Markdown operation | font color, font background and flow chart [recommended collection]
The second brother of this article leads you to learn about the high-end operations of Markdown document editing.
Recommended MD editor: Typora
Note: except the last figure, it can be used for CSDN Markdown! Note: the writing format is given in the code block, and the effect is shown below.
Don't hesitate! Collect it first!
1, Title
In ...
Added by gerry_kef on Sat, 18 Dec 2021 11:53:24 +0200
Web front end final assignment (imitating China cosmetics mall) html+css+javascript web design example enterprise website production
Web front end final assignment (imitating China cosmetics mall) html+css+javascript web design example enterprise website production
Near the end of the term, you are still designing your final homework for HTML web pages. Do you feel the teacher's homework requirements are great? Can't you start HTML web page homework? The total number of pag ...
Added by snipesh0tz on Sat, 18 Dec 2021 04:19:36 +0200
Detailed explanation of parent-child, brother and adjacent node positioning methods of selenium
Share the positioning methods of parent-child, brother and adjacent nodes in selenium. In practical applications, many people will encounter the problem that the node they want to locate cannot be directly located and needs to be relatively located through nearby nodes. However, it is easy to locate the child node from the parent node. It is im ...
Added by cjosephson on Sat, 18 Dec 2021 02:58:18 +0200
Application and principle of v-model
Application and principle of v-model
1. Use of V-model
Form controls are very common in practical development. Especially for the submission of user information, a large number of forms are required.Vue uses the v-model instruction to realize the two-way binding of form elements and data.Case analysis:
When we enter something in the input ...
Added by Atari on Fri, 17 Dec 2021 23:37:45 +0200
[different CSS] master Flex layout (long warning)
Write in front
The mastery of CSS layout determines your page development speed in Web development. With the continuous innovation of Web technology, there are countless ways to realize various layouts.
Recently, it took about half a month to organize a series by using fragment time. This series of articles summarizes various layouts, impleme ...
Added by sebjlan on Fri, 17 Dec 2021 21:26:40 +0200
web front end technology notes JavaScript introduction, variables, operation elements and attributes
JavaScript introduction
JavaScript is a footstep language running on the browser side. JavaScript mainly solves the problem of front-end interaction with users, including use interaction and data interaction. JavaScript is interpreted and executed by the browser, and the front-end scripting language includes JScript (unique to Microsoft an ...
Added by tasistro on Fri, 17 Dec 2021 18:49:03 +0200