The more in-depth CSS learning, we need to focus on the details of the more, today we use 11 points to improve the CSS Web page rendering efficiency.
1, hexadecimal color value pairs of digits and case
When you write hexadecimal color values, you
Want to let the paragraph front empty two words distance does not use a space, text-indent can make the first line in the container indent a certain unit. For example, Chinese paragraphs in general each paragraph before empty two Chinese characters,
The relationship between HTML, CSS, and JavaScriptWeb pages consist mainly of three parts: structure (Structure), Performance (Presentation) and Behavior (Behavior)html--structure, determine the structure and content of the Web page
Cross-domain is caused by the browser's same-origin policy, refers to the page request URL address, must be on the same domain as the browser URL address (that is, the domain name, port, the same protocol), the following article on the front-end
CSS for horizontal vertical center alignment
Horizontal centering in CSS is easier. Commonly, if you want to implement inline elements or inline-block elements horizontally, you can set the implementation on their parent block-level elements, or
Grammar:
Layout-grid:layout-grid-mode | | Layout-grid-type | | Layout-grid-line | | Layout-grid-char | | Layout-grid-char-spacing
Parameters:This property is a composite property. See properties for each parameter.DescriptionSets or retrieves a
When the element gets focus, the focus frame is 0.
For example, the current page, you use the TAB key to switch, text links, search boxes, buttons, and so on the outside there will be a dashed box (or highlight box), the current element has been the
In CSS3, if you use the animation feature, you can animate the text or portrait on the page so that the background color is smoothed from one color to another.
The animation function in CSS3 is divided into transition function and animations
To set the font in the page, we know there are two common, px and em.
Px
In Web page production, we generally use "px" to set our text, because he is more stable and accurate. However, there is a problem with this approach, when the user in the
Grammar:
Letter-spacing:normal | Length
Parameters:
Normal: Default interval
Length: A value consisting of a floating-point number and a unit identifier that is allowed to be negative. See Length Units
Description
Retrieves or sets the interval
This article mainly introduces the CSS in the Text-overflow attribute and text truncation of the relevant data, the text gives a detailed sample code for everyone to refer to the study, I hope the content of this article to you front-end developers
CSS3 provides us with a scalable and flexible Web page layout-flexbox layout, it has a very powerful function, can easily implement a lot of complex layout, before it appears, we often use the layout method is floating or fixed width + percent to
CSS3 has added a lot of powerful selectors
It allows us to write fewer JS event scriptsLet's take a look at what the different versions of selectors areNote:Ele represents element elementsattr represents the attribute property, and Val represents
The shape transformation of CSS3 allows us to stretch, scale, and so on elements
I'm mainly talking about the 12 D plane transformation.Property transform can be transformedTransform is the meaning of metamorphosis.And it is mainly used by functions,
This article mainly introduces the CSS3 fillet and gradient 2 kinds of common functions of the relevant information, the need for friends can refer to the following
CSS3 Round angle Explanation: Presumably everyone for the picture, the background
This will show you how to set the background image with Background-image, as well as the tile, stretch, offset, and size of the background image.
1. Background Image Style classification
The properties that set the element background picture and
Key to compatibility processing
1. DOCTYPE affects CSS processing
2, FF: Set padding, div will increase height and width, but IE will not, it is necessary to use!important to set a height and width
3, FF: Support!important, IE is ignored, can
This article mainly introduces the use of CSS linear to make complex border effect analysis of the relevant data, the use of linear-gradient properties to create a beautiful border effect
A way to create a gorgeous border effect using
HTML link, html link
HTML uses a hyperlink to connect to another document on the network. You can find links on almost all webpages. Click the link to jump to another page.
Try-instance
HTML linkHow to create a link in an HTML document.
(You can
[Switch] Introduction to rendering principles of browsers and introduction to rendering principles
How Browsers Work this article detailed a lot of browser details, but also has a Chinese translation version. Now, the reposted article is written by
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service