Description: MooTools supports the use of CSS selector syntax to get ELEMENT nodes, doing the most things with minimal code. The tool methods to implement these functions are provided in dom.js as well as the element-level extensions.
1. Method: $E
CSS Box Model diagram:
We have some common property names in Web design: content, padding (padding), Borders (border), boundaries (margin), and CSS box models have these properties.
Example:
HTML file Contents:
You want all elements to conform to one style, and you can use wildcard selectors. Wildcard selectors can be applied to all HTML elements, but with the lowest precedence.
Grammar:
*{
Property Name: property value;
.......
}
Cases:
HTML file:
Style sheets can be external, inline, embedded, linked, for example, the following inline style will be used for all id=test labels:
border border-width border-style border-color border-top border-top-width border-top-style border-top-color
When you use CSS to implement performance, you will often be exposed to the attributes of Display:inline-block, whether it is the first contact with the Web standards or contact with the standard of a long time friends, most of this attribute feel
These days I use DIV+CSS to carry on the Page Three column layout when suddenly thought of such a method, this idea oneself all feel a bit crazy, if there is anything wrong place or please a lot of advice.
When you need to write a three-column
Positioning has always been a difficult point in the application of Web standards, if you do not understand the positioning of the possible implementation of the effect can not be achieved, the effect may be out of shape. If you clear the principle
Difference IE6 with FF:
Background:orange;*background:blue;
Distinction between IE6 and IE7:
Background:green!important;background:blue;
Difference IE7 with FF:
Background:orange; *background:green;
Difference ff,ie7,ie6:
CSS in the!important is a very important attribute, and sometimes play a very large role, this knowledge is not very much, we look at the following article, the understanding of its comparative perception.
A few days ago, when I wrote some CSS code,
Using Web standards to design a Web site, the transition approach is primarily a xhtml+css,css style sheet that is essential. This requires all web designers must be proficient in CSS, if you have not used to use, then start learning now. If you
cascading model tables (CSS) are rapidly becoming the actual criteria for Web page layout and positioning. They are easy to use, do not require any special software, and can be applied on most major browsers. However, proper use of them requires a
Even in the DIV flying today, table in the layout of the page is still indispensable, because when you need to output data, table layout is far more advantageous than the div layout, and the same we can control the table style through CSS. To know
In the properties of a CSS hyperlink, there are four ways to connect:A:link a:hover a:visited A:acticveBefore the use of the time has been in accordance with the order of self-thought, is the sort of L H V A, but sometimes found that it does not
when it comes to selectors everyone is not unfamiliar, the most estimated use is the ID selector and class selector, as for the other selectors, here today I avoided.
Class selector: The HTML element is given a loud name, tagged with class, you
This article on the CSS commonly used 6 properties to explore, we will certainly be satisfied with this article.
1.position:static
The static property is the default value of position, which means that when an element does not have a position
1.position:static
The static property is the default value of position, which means that when an element does not have a position property set for it, its default value is static.
2.position:absoluteThis is a position property value that will
First, Introduction
The Position property of CSS sets how elements are positioned, defining positioning rules for the element to be positioned. This property is useful for scripting animation effects.
1. Positioning elements (positioned element)
Css3 basic knowledge-A Review of css3 basic knowledge
1. Attribute Selector Fully matched attribute selector [id = article] {}Example:
Result: The border of the first two text boxes is two pixels in red.
Contains the Matching Element selector and
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