1. Metro UI CSS
Metro UI CSS is a CSS framework that implements the Metro-style interface of Windows 8.
2. Csscomb
Csscomb can use the specified sorting method to sort the properties of a CSS, providing multiple versions, including:
First, CSS style compatibility
1. Float Closure (clearing float)
Web pages in some browsers display the dislocation is often because of the use of float and not really closed, this is a div can not adapt to the height of a reason. If the parent
In the HTML there are three units of measurement, one is PX, the unit name is pixels, the second is EM, the unit name is relative length unit, the third is PT, the unit name is point, we will give you the analysis of the three kinds of units have
Last time we had a look at the specific usage of flex-grow, this week, let's see flex-basis this property.
Flex-shrink
Define the scaling of the project, with the default value of 1, and note that the project shrinks if there is insufficient
There are three reasons why HTML pages are garbled. So today we're going to take a look at three different causes and solutions for three problems.
The reason why HTML Web page garbled is mainly the HTML source code text content and HTML coding is
The Border-spacing property in CSS acts as: Specifies the distance between adjacent cell borders.
Border-spacing attribute Instance
To set border-spacing for a table:
Table { border-collapse:separate; border-spacing:10px 50px; }
Border-spacing
Crop the left/right edge of the content in the DIV element-if it overflows the content area of the element:
Div{overflow-x:hidden;}
Browser support
All major browsers support the Overflow-x property.
Note: The Overflow-x property does not work
In the process of learning CSS, it is particularly easy to confuse the two concepts:
pseudo-class and pseudo-elements。 The definitions of the two are as follows:
CSS pseudo-classes are used to add special effects to certain selectors.
CSS
The background (background) is an important part of CSS and one of the basics of CSS that needs to be known. This article will cover the basic usage of the CSS background (background), including properties such as Background-attachment, as well as
When you do not include the Z-index property and the Position property, the stacking order of all elements is consistent with the order in which they appear in the HTML document in which they are placed. (except for exceptions that use negative
Grammar:
Text-indent:length
Parameters:
Length: Percent number | A value of length, consisting of floating-point numbers and unit identifiers, that is allowed to be negative. See Length Units
Description
Retrieves or sets the indentation of
This article mainly for you in detail the CSS text around the picture encountered problems and solutions, interested in the small friends can refer to
CSS for wrapping text around a picture effect
text around the picture , in Word just click on the
Through the CSS in the linear-gradient main can show a different direction of the stripe effect, here we understand the CSS to create Web page stripe background style sharing skills, the need for friends can refer to the next, horizontal stripes The
Preface One of the most common scenarios on the web is to relative the parent element and then absolute the child element. This is certainly good, but one drawback is that it changes the hierarchical relationship of elements, and if used in
If the implementation of a single line of text overflow display ellipsis students should know to use the Text-overflow:ellipsis attribute, of course, also need to add width of the genus to be compatible with some of the browsing.
Implementation
word-break: "Word breaker"
Definition: A method for handling automatic line wrapping. Note: By using Word-break, you can enable the browser to wrap anywhere.
syntax: word-break:normal|break-all|keep-all;
Default value
Normal
CSS3 Transparent ... Non-transparent ... Gradient... Call it whatever you want! Here are some guidelines for using CSS3 transparency and some examples.
In fact, this firefox has long ago supported, and IE has not supported!Previous post: CSS3
Web Front-end Tutorial: CSS layout is here, webcss
CSS layout
Layout is an important part of CSS. This article summarizes common techniques in CSS layout, including common horizontal center and vertical center methods, as well as multiple
95% of Chinese websites need to rewrite CSS, and 95% of Chinese website cssCSS needs to be rewritten for 95% of Chinese Websites
For a long time, I used 12px as the main font size of the website. 10px is too small, and the eyes are very tired.
CSS achieves horizontal vertical center of div, and horizontal center of cssdiv
There are many solutions for implementing center. Here we will introduce the solutions for pure CSS to use absolute with margin.
1. Fixed div width and height
width:
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