ArticleDirectory
1. Basic syntax Specification
2. color value
3. Define the font
4. Group Selector
5. Derivative Selector
6. ID Selector
6. Category Selector
7. Define the link Style
Learn about
The idea is simple,
CodeIt is very concise and has good results. It is quite useful (this kind of advanced Dongdong IE is naturally unknown ).
Copy codeThe Code is as follows: * {outline: 2px dotted red}
** {Outline: 2px dotted green}
* **
View
page 1 reports like this general requirements are sufficient. page 2nd the page is displayed reports like this general requirements are sufficient.
Despite the vertical-align feature of CSS, it cannot effectively solve the vertical center problem of unknown height (in the case of text or images with unknown heights in a div label ).
Standard browsers such as Mozilla, opera, and safari .,
The biggest difference between CSS layout and traditional table layout is that the original positioning uses tables to control the spacing of text layout sections through table spacing or colorless and transparent GIF images; currently, the layer
As the concept of Web Page standardization is deeply rooted in the hearts of the people, more and more websites adopt the CSS architecture. CSS architecture web pages not only comply with W3C standards, but also very beautiful. Standard Web pages
Common CSS layout Methods: float: None | left | right
Valid value:
None: default value. Objects are not float
Left: Right of the text flow object
Right: Left side of the text flow object
How does it work? Let's look at an example of one row and
Technically, websites built using W3C standards can be completely separated from the structure. For example, you can completely change your skin (performance, CSS) without moving the skeleton (structure, xhmtl) and muscle (behavior, JavaScript ).
I have encountered many problems in my recent work. One of the most important problems I think is the sequence of CSS writing. It can reflect the continuous thinking of a front-end worker. If you see this article, please do not think of any
How to center a divThe main style definition is as follows:
Body {text-align: center ;}# Center {margin-Right: auto; margin-left: auto ;}Note:
First, define text-align: center in the parent element. This means that the content in the parent
I. Use the style attribute
Add the style attribute directly to individual component labels.
For example:The advantage of this usage is that the style can be applied to various labels smartly, but the disadvantage is that there is no "uniformity"
What is CSS?
CSS is a technology called stylesheet. Some people also call it cascading stylesheet ). CSS technology is used in homepage creation to control page layout, Font, color, background and other effects more accurately. As long as the
Some people may have found that they can write...
CSSCodePartA.info {Position: relative; Z-index: 0; Background-color: # CCC; color: #000; text-Decoration: None}
A.info: hover {Z-index: 1; Background-color: # ff0}
A.info span {Display: None}
The effect is direct to the DIV + CSS + JS menu of flash.
g1good morningg2good eveningm1my name is fireyym 2mm mm I love ug1good morningg2good eveningm1my name is fireyym 2mm mm I love u
Here is an example. These are the most basic filter applications. In fact, the combination of two or more filters will produce unexpected results. If you have any problems, try it first, of course, you must pay special attention to the color
ISSN: 1534-0295. 20 October 2003-Issue No. 160
Author: Douglas Bowman
Original article from: A List Apart
54player.com nobita
Copyright Description: the Chinese translation in this article is copyrighted by 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