Original article: efficiently rendering CSS I admit that I don't often think about this ......What is the efficiency of CSS we write? What is the speed of browser rendering? This should be something that browser developers should be concerned
The box model is an important concept in CSS. Only by understanding the box model can the layout be better. In fact, there are two types of box models: the IE box model and the standard W3C box model. They have different interpretations of the box
=========== Common CSSCode==============
Font color:# 00903a;
Background Color: Background-color:#7cffe7;
--------------------------------------------------------------------------------
Border Width: border-width:5px;
Top
CSS 3 Standard
With the emergence of Ajax and jquery, CSS is constantly improving itself.
CSS 3 draws on the needs of web development over the years and puts forward many novel CSS features.
For example, the border-radius attribute of
Preface
My memory is not good, so I will spend a lot of time studying the same things.
I have been studying CSS for a while, but I find out the fact that the more I learn, the less I understand, and the humble human being!
I think back to the
Before introducing JS operations on CSS styles, I would like to introduce how CSS styles are loaded in HTML of webpages. Loading CSS styles on HTML pages can be divided into three forms: inline style, internal style sheet, and external style sheet ).
Different browsers use CSS hack:
Difference between IE6 and other browsers:Background: orange; _ Background: blue;
Difference between IE6 and IE7:Background: Green! Important; Background: blue;
Difference between IE6, IE7, and FF:Background:
HTML: (Hypertext Markup Language)
HTML can only display text and images on your computer at the beginning. Later, the author wanted to see others' texts and images in his own text, so the text was called hypertext, in addition, if you click a link
Paste it directly.Code.
HTML file
Youku Niu Ren more mariyd taotu listener spring, autumn, and evening
star space more space you like taotu listener [90 space]
Youku public welfare more official public
When preparing the webpage, I thought that after setting the parent's position as relative, the float in the CSS OF THE FIRST Div can be completely left empty, by default, the first div is placed on the left.
I found out today that this idea is
This is useful when you need to restore the default value.
* {Margin: 0; padding: 0;} at the beginning. When margins are required, the default html css value needs to be restored.
I have been searching for this document all the time. I saw it on
When multiple floating elements follow each other and add comments in the middle, the text in the last floating element is occasionally copied to the bottom. Academic name duplicate characters bug
ProgramCode An additional pig This is the extra
View ASP examples
xxxx1 xxxx2 xxxx3 th xxxxyyyy xxxxyyyy xxxxyyyy TD ,
The same method should also be used in the gridview.
Exam site: http://www.chenjiliang.com/Article/View.aspx? ArticleID = 1876 &
Use Div + CSS to simulate the diagonal line of a table Category name table table table table table table
Principle: Use border-top: 50px solid # DDD; border-left: 100px solid # f7f8f5; to simulate a triangle;
Use
In the evening, I read apress beginning HTML with CSS and XHTML: Modern guide and reference.Attracted by this phrase: Learn how to build modern, standard-compliant, and non-messy HTML and CSS websites.In such books as apress, beginning is intended
Everyone is learning CSS web page layout, studying CSS positioning, float, and the application and setting skills of various CSS attributes. This is not a problem. It is also worth studying. But it often ignores an important field, namely HTML. In
(1) For a layer with a floating layer, the main layer should use overflower: hidden to eliminate other external effects caused by the floating layer.
For example:
AA Main2 content
At this time, if mian1 does not include overflower: hidden, the
1. Use background images to achieve high self-adaptability.This method is a visual deception, but the height of the layout element is not equal. The principle is to include highly-adaptive blocks (such as a and B) in a container C and provide a
Non-original, source network. Thanks to the original author for providing such wonderful articles. Original address: http://www.jluvip.com/blog/article.asp? Id = 186Introduction to delimiter Classification
1. wildcard SelectionSyntax:
* { sRules }
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