The frustration of choosing a CSS framework in a project

Source: Internet
Author: User

Advantages
A) Improve development efficiency.
b) Specification name definition, easy to maintain.
c) Standardize the project development process
d) CSS code is clearer and simpler. The HTML code is more reasonable.
e) Reduce user downloads in large-scale projects
Malpractice
A) increased learning costs. You need to understand the entire framework and need to read the framework's documentation.
b) The CSS framework is bloated for pages such as a small project. There may be a lot of code in the framework that you can't use.
c) may not be able to help you improve your technology. Too dependent on the framework, so it is difficult to eliminate bugs. Includes bugs in the frame itself.
D) It is painful to choose the framework and development framework that you need. Write to the back found more and more inflexible, more and more bloated.
FAQ
1, the page external reference style too.
For example, the margin definition of UL, in the formatted CSS will be declared as 0, and in the basic style of CSS may also declare margin:5px 10px;
So there are multiple definitions in YSlow.
2, the component reuse of consideration.
For example, the form definition of the CSS defines all forms of decoration, and assume that in the registration of this page only need 30% of this CSS. Is that supposed to cut out the 70%?
Combined with the above two questions, the individual thinks the solution is the encapsulation, so that some have, should not have. Minimize the number of HTTP connections and the size of the CSS. But if this is done completely, the reusability of CSS will become very poor, the later manual packaging will be very painful.
3, in the end should not support em?
If you want to support EM, the biggest goal is to be able to freely scale in the browser according to the user's resolution size, which is very useful for users with large monitors and small display users. But in the collection of our user's browser data, found that the two end of the user is very small, it is conceivable that for this part of the user more than the normal development of more than one more time is obviously not a cost-effective thing, so at the time of development tbsp, our team decided not to support EM. Of course this is a suggestion, we also hope to use EM to give users the best feeling.

The frustration of choosing a CSS framework in a project

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.