This article mainly for you in detail the CSS in the height and the difference between the min-height, from a simple example for everyone to analyze, interested in small partners can refer to
As a new web front-end, you need to know the difference
These four CSS property styles are used to locate the object box, and you must define the Position property value to absolute or relative this value to take effect.
First, the grammatical structure
Left, right, top, bottom followed by the number
First, preface
If just to develop a simple pop-up effect, it is enough to know that the cascade relationship between elements can be adjusted by Z-index. But to deal with the cascade relationship between multiple pop-up windows, it is necessary to
If you usePosition
to layout the page, the position property of the parent element must be relative, and the element that is positioned somewhere inside the parent is best used with absolute because it is not affected by the parent
CSS positioning parameters: position, left, right, top, bottom
Parameter description:The absolute parameter is used to specify the location of the block, top, bottom, left, and right respectively specify the upper and lower coordinates of the
The Osition property specifies the positioning type of the element, which is the positioning mechanism used to create the element layout. Any element can be positioned, but an absolutely positioned or pinned anchor element generates a block-level
If you set a small icon in front of a list item using List-style-image, it is displayed normally under FF, and the List-style-image picture is centered vertically
If you use List-style-image to set a small icon in front of a list item, it is
About the fixed property, under what circumstances to use, how to use, first of all, we should understand the following fixed property Description: Fixed always the body as the object when positioning, always based on the browser window to the
What does list-style-type:none mean in CSS? I am a novice, just started to learn div+css this statement what meaning
The Li tag is preceded by a style, which is the point. You can play it out and see.
Small dot Not a little bit of This
This article synthesizes: http://zhujiao.iteye.com/blog/1856980 and http://blog.csdn.net/maikol/article/details/6048647 two articles
Have added some of their own experience.
The margin and padding of Android are the same as in HTML. As shown: The
Align-content
Role:
Sets the vertical arrangement of each item in the Free box.
Conditions:The Free Box property Display:flex must be set on the parent element, and the arrangement is arranged horizontally flex-direction:row, and the wrapping is
There is a p as an external container, the internal p if the float style is set, then the external container p can not be open, the application of Clearfix at the end of the element to add content, the purpose of the open container is the contents
Border-color--Define color values for four borders: [ | Transparent]{1,4} | Inherit {1,4}: Color notation transparent{1,4}: Transparent inherit: Inherit initial value: Default value inheritance for the same color property: No for: All elements
Why Margin-top is not acting on the parent element:Recommendation : As far as possible handwriting code, can effectively improve the learning efficiency and depth.As for the basic usage of the Margin-top attribute, it is simply to set the top margin
To the child element box a vertical margin margin-top, the parent element box will also go down the value of margin-top, encounter this problem friends can refer to this article may have unexpected harvest
hack:
The parent element's box contains a
Objective
In the past has been heard that the old version of IE under a lot of strange bugs are caused by a mysterious character, that is haslayout. Take advantage of the recent sudden insane plan to study CSS, by the way to answer the doubts over
clear:
The value of this property indicates that the edge of a floating object is not allowed.
Default value: None
Take value
Describe
None
Allowed to have floating objects on both sides
Left
Use of the Table-layout:fixed property:If you want a table fixed size, the text inside is forced to wrap (especially in a long string of English text, and there is no space in the middle of the case) in order to achieve the text that is too longThe
Css float, css float
First, let's talk about float: A floating box can be moved to the left to the right until its outer edge hits the include box or another floating box.
Floating is very important in css styles. Let's take a look at the
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