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
HTML5 final assignment: Blue campus culture development enterprise template html(7 pages) HTML+CSS+JavaScript
HTML5 final assignment: Blue campus culture development enterprise template html(7 pages) HTML+CSS+JavaScript final assignment HTML code student web page course design final assignment Download Web page design
Near the end of the term, you are still designing your final homework for HTML web pages. Do you feel the teacher's homework requiremen ...
Added by finkrattaz on Sun, 19 Dec 2021 02:11:06 +0200
Educator CSS3 - text style 1
CSS3 - text style 1
Level 1: concepts related to font style attributes
Relevant knowledge
font-size
Font size attribute is used to set font size. The value of this attribute can use relative length unit or absolute length unit, as shown in the following figure.
Code example:
p{font-size:100px;}
font-family
The font family property ...
Added by wowiz on Sat, 18 Dec 2021 20:35:15 +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
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
[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
uniapp custom bottom navigation bar
When working on a project, it is often encountered that the style on the UI diagram cannot be implemented in the existing framework. For example, the font of the bottom navigation bar can be changed into a gradient when it is selected. The css style can be directly modified in the browser, but it is found that it does not take effect at all whe ...
Added by jediman on Fri, 17 Dec 2021 16:10:19 +0200