The difference between first-child and first-of-type in the css Selector,
: The first-child selector is the selector defined in css2. It is also the first sub-element to be understood literally. For example, there is a code segment:
P:
CSS Learning (19th)-CSS scaling layout boxI. theory:1. Basic flexbox model knowledgeA. The layout of flexbox is unpredictable.B. The layout can be adjusted flexibly when the screen and browser window size change.C. You can allocate additional space
Common techniques that must be explored in CSS positioning
CSS positioning is often used at will to meet your own requirements. However, the position and other attributes in CSS do need to be carefully studied.
1. position: static
The static
IE compatibility issues, various types of css hack code (for test purposes), csshack
At present, most enterprises require IE7 + or IE8 + browser compatibility, and few require IE6.
IE6:
_ Margin-top: 20px;
IE6 + IE7:
* Margin-top: 20px;
+
Detailed description of the Regular Expression Form Verification instance code, regular expression instanceDetailed description of the Regular Expression Form Verification instance code
This article describes detailed information about Regular
Div + css implement vertical horizontal center of unknown width and height elements, divcss
Div + css enables vertical horizontal center of unknown width and height elements. Many people will encounter this problem during the interview: How to Use
Review the document structure of CSS and css documents
Source: http://limits.cnblogs.com
Let's take a look at several basic HTML pages.
1 2 3 4 5 document structure 6 7 8 9 CSS rules 10 A style sheet consists of style rules . 11 12
HTML multimedia and html multimedia
1. multimedia introduction
Multimedia on the Web refers to sound effects, music, videos, and animations. Multimedia can be heard or seen in different formats, text, images, music, sound effects, recording, movies,
Css implementation, when the mouse is suspended, it indicates the effect of the layer, css when
When the css is implemented, the following figure shows the effect of the layer:This section shares an example of code. It uses the css-only method to
Code example of Parallelogram implemented by CSS3, and css3 Parallelogram
Code example of Parallelogram implemented by CSS3:This topic describes a code example that achieves parallelogram.The Code is as follows:
ant tribe
The
Understanding of the High line-height of CSS rows, and the high line-height of css rows
1. the literal meaning of the line height
"Line height" refers to the height of a line of text. Specifically, it refers to the distance between the baselines of
Precautions for cropping Web pages and CSS, and precautions for css web pagesI. Thread Pool settings in Asp.net
In Asp.net service processing, every time the server receives a request, HttpRuntime will get an HttpApplication object from the
When a child element is added with margin-top, it will be added to the parent element. The element margin-top
Suppose we have the following code:
The results are as follows:
The sub-element's margin-top does not separate the sub-element from
Principle of non-zero surround rules in Canvas
Non-zero surround rule: for a specified range area in a path, draw a long enough line segment from the area so that the line segment completely falls out of the path range.Non-zero surround rule
How does CSS remove the dotted line when a hyperlink is clicked?
How does CSS remove the dotted line when a hyperlink is clicked:Suggestion: writing code as much as possible can effectively improve learning efficiency and depth.When you click a
Center Method, vertical center Method
Today, when I wrote a webpage, I found that center is a headache. So I summarized what I know on the Internet and my usage to solve the center problem:1. text-align: center
It must be set on the parent element.
3px solution in IE6 browser,
Solution for 3px in IE6:Suggestion: writing code as much as possible can effectively improve learning efficiency and depth.The 3px problem in IE6 is mainly caused by irregular writing. For example, we need to write a
Common empty HTNL elements and common HTNL Elements
Empty HTML elements are HTML elements with no content
1. : the label defines a line break. Line breaks and so on.
untitled document Baidu, you will know Baidu, you will know Baidu,
Practical Use experience of CSS3 transition specificationsThis article mainly describes the CSS3 transition specification and differences in the use of different browsers. For more information about specific solutions or how to avoid problems, see
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.