A brief analysis of CSS:CSS

Source: Internet
Author: User
Tags abstract


The cascading style sheet (cascading style Sheet), referred to as "CSS", is often referred to as "style style sheet (StyleSheet)", which is designed for web styling.
The basic understanding is to encapsulate the style into a class that has different forms of expression! including class,a,table and so on. When we write the Web code, we simply write the content, and his performance (color, font, size, etc.) is encapsulated in another file!
The actual CSS is object-oriented thinking, but he will abstract this link used in the style of design, the specific content of the Web page is their specific implementation!
Of course, there are pros and cons to everything, and here's a quick look:
Advantages:
A. Simplify the code, build the difficulty of reconstruction.
This is easy to understand, abstract style into a class, save a lot of code, make it easier to understand and easier to maintain! Refactoring is just a matter of changing the design file.
Two. Web Access speed
My personal understanding, because the browser interpretation code execution, due to the style of encapsulation, to ensure the unity of interpretation, improve our browsing speed!
Three. Browser compatibility
Now the mainstream browser basic support CSS, so that our page compatibility has a big upgrade!
Disadvantages:
I. High TECHNOLOGY development
Although our CSS compatibility is good, but the implementation of each browser is different, resulting in a unified interface and friendly development has become a need for High-tech!
Two. Large development costs
The DIV+CSS layout develops for a long time relative to the table layout. When we develop in CSS, we have to think a lot of problems, layout and so on!
Three. Long development time
Above two points, resulting in our CSS development time a bit long

Overall, the advantages of CSS outweigh the disadvantages, unified thinking to create a CSS for our web browsing more colorful, web design more tension!
This article links http://www.cxybl.com/html/wyzz/CSS/20130708/38979.html

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.