CSS2.0 Handbook on the explanation:
Setting this property value to absolute will drag the object out of the normal document flow to absolute positioning without regard to the layout of the content around it. If other objects with different Z-index
Let's look at the example:
HTML Example:
Demo Mozilla Opera Netscape Firefox IE6 Wind oWS Style CSS Line as long as the content is greater than the height of one screen
[Ctrl + A full selection Note: If you need to introduce external
Here's an ordinary code:
Css:
Copy CodeThe code is as follows:
. box{
border:1px solid #ccc;
font-size:12px;
Background: #f1f1f1;
padding:10px;
}
Html:
Copy CodeThe code is as follows:
This is a gray box
But this time the demand increases, in
Background-position and CSS Sprites usage
The background-position attribute is frequently used. A large number of websites combine a large number of images into a Sprite to reduce the number of http requests. Sprite is used to determine the position
Summary of HTML and CSS layout skills
Many people are confused about the CSS layout. in actual application scenarios, it is difficult to choose a CSS layout because of its many layout types. Today, I spent some time summing up my understanding of
Even cainiao can configure a website, cainiao
Do you feel that IT is a great challenge to configure a decent company website? If you have the same feelings, you will feel a lot better after reading this article today, because I am a technical expert
Vertical center (compatible with earlier ie versions) and center ie
Css has many ways to implement vertical center, but each method has obvious defects. I tried to improve one of them.
First look at the original method:
. Parent {
Width:
Create a transparent border triangle in CSS3Brief Introduction
We have discussed how to implement triangles based on border attributes. Below we will implement triangles of different colors, including top, bottom, left, and right.Effect
Source
Css positioning, css relative positioning
1. Relative positioning
If an element is relatively located, it appears at its location. Then, you can set the vertical or horizontal position to move the element "relative to" its start point.
If you
HTTP initial annotation and HTTP Annotation
I collected resources on the Internet and some books I have read. I have summarized a little bit of HTTP. now I just have a superficial understanding of it. I hope that I can write more nutritious notes
Method for passing parameters between html pages at the front end
There is a list, for example, a case list, which usually appears in a project. Click an item in the list to go to the details page. The details are generated based on a selected
Mobile phone classification page implementation, terminal classification pageLet's not talk about it first. First, I split the page into the following modules. There are several important points to note: 1. Click "City 1" and "City 2" in section 1
The horizontal scroll bar is displayed when the html page content exceeds the limit.This problem has been encountered several times and has been well solved. This problem usually occurs when the width of an internal element in html or page exceeds
Border-radius knowledge point, borderradius
Border-radius: 50px; border radius CSS measurement values: em, px, percentageIf one value is set, this value is used for all four rounded corners. If two values are set, the first value is used in the
CSS Learning (18th)-scroll bars, drag elements, and outlinesI. theory:1. overflow-x/overflow-yA. Default Value of visible. No scroll bar is added.B. Add a scroll bar in autoC. When the hidden content overflows the container, all content will be
CSS Learning (15th)-CSS color mode and CSS color transparencyI. theory:1. CSS3 color modeA. RGBA color mode. The alpha transparency control parameter is added based on RGB.B. HSL color mode: color saturation brightnessC. HSLA color mode: the value
2016.3.14 _ CSS positioning _ day 6CSS positioning mechanism
There are three basic Positioning Mechanisms in CSS: normal stream, floating, and absolute positioning.If not specified, all labels are located in the normal stream.Block-level elements
Adaptive process on the left side of CSS fixed width (compatible with all browsers)
CSS style
body,ul,li { margin:0; padding:0;}ul,li { list-style:none;}.form-table { width: 600px; height: 330px; margin:10px auto; overflow: hidden; padding:
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
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