HTML code:
div01
nei1
nei2
nei3
nei4
nei5
nei6
nei7
nei8
nei9
nei10
nei11
nei12
nei13
nei14
xuhaitaoxuhaitaoxuhaitaoxuhaitaoxuhaitaoxuhaitaoxuhaitao
If the CSS settings are as follows:
In CSS to call the JS program. This technology is in the network security, called the CSS Cross station.We know that CSS can control the attributes of some HTML elements, such as background-image, and so on, and in the URL to add Javascript:alert ()
Note: Preferably in Firefox or Chrome run, the IE effect does not appear-. -
Effect Chart:
InitialWhen the mouse moves to a picture, also click on the open picture, will automatically connect to the big picture.
The code is as
This thing is called floating.
as the name suggests, is to allow the set of the label to have a floating effect, that is, from the original page of the standard output stream.
normally, block elements in an HTML page are arranged from top to bottom.
First, the HTML1. Label this is a link 2, eg, This is a paragraph 3. Alignment Background color settings, Table border Settings4. create horizontal line eg, This is a paragraph this is a paragraph Line Break Markers5, This was a page
This article mainly introduces the CSS3 use three-dimensional deformation to achieve three-dimensional blocks of the method, the text gives a complete example code, interested friends can run their own look at the effect, only their own hands to
This article mainly introduces the CSS performance optimization to improve the performance of CSS methods, non-standard CSS will lead to a lot of performance problems, so learning to master CSS Performance optimization skills is very necessary for
This article mainly introduces the CSS edge offset distance for the left and right probability value analysis, has a certain reference value, now share to everyone, the need for friends can refer to
CSS edge offset distance in the layout played a
CSS is positioned between sibling elements
Note
* 1.css Native Selector is the fastest to find elements
* 2. Custom selector: Start, very similar to Pseudo-class in CSS
* 3. The custom selector is positioned based on the location found with the
One, the same as the absolute positioning of floating:
1. Floating elements are also out of document flow
2. After the element floats, it supports the wide height and becomes the block element.
Second, the characteristics of floating: only along
Four modes of positioning: static,relative,absolute,fixed
Positioning four positions: Left,right,top,bottom
Positioning properties: Position, there are four status values
1.static: Static positioning, arranged in the order of elements in the
The parent element must be a block element, which is divided into the following types according to the child elements:
1. Child elements are inline elements: for example: A,span
A. Center horizontally: Set on parent element: Text-align:center;
B.
4.css table Settings /* First step: Add a border to the entire table and all internal cells */TABLE,TH,TD {border:1px solid #333; }/* Step two: Fold the entire table and the inner cell's borders, that is, the line is the same */table {/*
1. Document Flow: The default arrangement of page elements, according to the order of elements in the HTML document, from left to right, from top to bottom;
2. Block elements: The default is a row, in the vertical direction, you can set the 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