Advantages and disadvantages of CSS framework

Source: Internet
Author: User

The benefits of CSS frameworks:

1, the development efficiency enhancement.
If you are a front-end development of a corporate site, believe that most of the time to do similar sites code work. A well-defined framework can greatly improve your productivity and avoid some common mistakes. If your job is to be billed on a per-piece basis, you will be paid more than anyone else.

2, the specification code name.
You may use some of the same class or ID in multiple sites. If you have a perfect CSS framework, you'll soon be able to read through the code for each of your sites. Don't waste your time reading the code.

3, a better team cooperation
Some companies divide the front-end code of some slightly larger sites into subprojects. Friends who have had such experience should be deeply depressed about this kind of development, pay attention to the common CSS, and pay attention to the code cooperation between each other. Over time, the waste code is more and more, it is difficult to read each other. If you set up a suitable CSS framework, you can reduce many unnecessary errors, improve product quality and efficiency.

4, solve the browser compatibility problem
Most projects now require compatibility with ie6,7 and ff. Each site may take part of the time to handle compatibility issues. The problem is dealt with at a framework level. You can save most of the time for later compatibility issues.

5, a set of complete, structure clear structure code.
The CSS framework provides a clean, rigorous infrastructure for your project. With it you can quickly build the base HTML code framework for your site. Everything is difficult at the beginning, and the basic work ahead is done. The pace of development later will improve a lot.

The CSS framework provides a clean, rigorous infrastructure for your project. With it you can quickly build the base HTML code framework for your site. Everything is difficult at the beginning, and the basic work ahead is done. The pace of development later will improve a lot.

Disadvantages of CSS Frameworks:

1, you need to fully understand the entire framework
Everyone who joins the project needs to spend a certain amount of time to fully understand the whole framework and coding specifications;

2, you will continue some of the errors in the framework of the bug
No one can guarantee that the framework is perfect without bugs. You may need time to clean up the bugs in the frame;

3, limit the development of ideas
Framework gives you the basic framework and development of ideas, which may limit your new ideas for product development;

4, the bloated source code
A large part of the code in the framework may not be used frequently, and it can also degrade execution efficiency;


5, the semantics of the framework
We've noticed the semantics of the HTML code. However, each site based on the framework is independent and unique, it is difficult to ensure the semantics of the CSS framework.

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.