Yes, there are always a class of attributes to help you easily find shortcuts, but also for you to add trouble, such as the mastermind of this article Display:inline-block. The role of the front end is to present the object as an inline object, but
First look at the ie7+, Firefox, Opera code:
The code is as follows
Copy Code
In IE6, you need some CSS hack to address it, and you need to add:
The code is as follows
Copy Code
LinkLink is to connect the external CSS with the Web page.
@importThe difference between the import text and link is that it can introduce several other CSS files into a CSS file.
Why use @importMost people who use the @import approach are because
HTML code First line Second Line Third Line
2. CSS Tutorial Codebox{width:150px height:25px;line-height:25px; border: #bbb 1px solid; overflow:hidden;}. box ul{margin:0; padding:0}. box li{height:25px; line-height:25px; font-size:12px;
1.ID rule2.Class rule3. Label rules4. General rulesThe general understanding of efficiency began with Steve Souders's 2009 Advanced Guide to High Performance website construction, although the book is in more detail, you can also view the full list
The Web page uses the UTF-8 encoding format, which is no problem, the problem is that the external CSS file is ANSI encoded by default and is not saved as a UTF-8 format. You may find that in general this is no problem, however, when the CSS file
Serial number Chinese description Mark grammar remark
1 background Color {background-color: value}
2 background picture {Background-image:url (URL) |none}
3 background Repeat {background-repeat:inherit|no-repeat|repeat|repeat-x|repeat-y}
4
This article is mainly written to improve the Web page in the client browser rendering speed of the CSS section, the provisional summary of 10.
1, *{} #jb51 *{} As far as possible to avoid
Because there are differences in the interpretation of
Cascading Style sheets:the Definitive Guide, 2nd Edition is a thorough review to all aspects of CSS2.1 and a comprehe Nsive Guide to CSS implementation. The book includes new content on positioning, lists and generated content, table layout, user
7, Gray, Invert,xray filter
Syntax: {Filter:gray}, {Filter:invert},{filter:xray}
The gray filter turns a picture into a grayscale image; The invert filter flips all of the object's visual properties, including color, saturation, and brightness
We know that Dreamweaver is doing a good job in table making, but at some point it must be combined with CSS to achieve some specific effects, so we'll sort out the CSS syntax for the table border, and then explain how to use CSS to beautify the
This article shared the bootstrap CSS layout of the image for your reference, the specific content as follows
img-rounded, Img-circle, img-thumbnail (zoom graph mode)
Source code
img {
vertical-align:middle;
}
. Img-responsive,
. Thumbnail >
Test CSS Text shadow effects Test CSS Text shadow effects test CSS text Shadow style Test CSS Text shadow effects
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
We often use ' margin:0 auto ' to achieve horizontal center, and always think ' margin:auto ' can not achieve vertical center ... In fact, achieving vertical centering requires only declaring element heights and the following CSS:
The
First look at IE, Firefox, Google Browser under the various font display
IE below:
Under Firefox:
Google under:
From the above figure can be clearly seen under Google CSS settings font size of 12px and below, the display is the same size,
Brief tutorials
This is a fashion price list made with pure CSS3. The price list is laid out by bootstrap, with a flat style and a smooth transition of color when the mouse is over.
How to use
HTML structure
The basic HTML structure of the price
I am doing the DIV layout code in this way. I don't know what to say, but I don't know what to say. Let's take a look.I divide the class into two types: layout class, style class, layout class is skeleton, style class is clothesFor example:For
Yesterday I made a form and still used the table layout, because I personally feel that the table layout form is good (pursuing div refactoring is not equal to completely abandoning the table ).When I got up this morning, I thought it was another
See the following snippet: The code is as follows:Copy code $ (Function (){$ ("Div: not (: first)" ).css ("color", "red ");$ ("Div"). not (": first" ).css ("color", "red ");$ ("Div: first" pai.nextall().css ("color", "red ");$ ("Div: first"
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