Removed the CSS frame, the world is clean

Source: Internet
Author: User

In the previous WebApp project, I used the bootstrap as a three-party CSS library, only a portion of the source of the less use, most of the code is still written by themselves.

Your own code is also a reference to the directory structure of Bootstrap and some of its specifications.

A new project started, this time is a PC-side project, I put all of the previous webapp in the copy, made some minor changes, found before the set of written,

Not bad.

Before using the flow layout, the pixel is dead, this time to use REM, modified some hybrid for REM, very smooth over.

Code wrote for a long time, suddenly found that I only use a bootstrap class, and later thought, I removed bootstrap.

Then fell into the thinking, the original use of bootstrap reason is what. It seems to be to speed up development, to improve efficiency, but think carefully, when doing WebApp project,

It has little effect, but instead lets its own HTML mix its class, although I use xx-float, this prefix to represent which is my own writing class.

Moreover, many of the global styles defined by bootstrap can greatly affect the development of a project, and must be redefined with CSS precedence, even if it is not necessarily reasonable to redefine it.

At last I removed Bootstrap and felt much more comfortable.

Consider the problem with the application scenario. Building tools, modular tools, JS libraries, front-end frameworks, these are always a point of concern, but it is only today found that

On the CSS library, it seems that you think a little less. Yes, bootstrap this three-party library is also suitable for some of the UI requirements are not high page, the design of the outstanding interface is completely only

Re-write, to achieve, not to mention the current company's projects are independent design requirements.

So, considering the company is entering the platform, multi-project This phase, or decided to maintain a set of CSS, more components, and finally to be able to quickly new products, speed up program development and design and development

of efficiency. To achieve this, it is necessary for the designer to clean up some of the specifications, and then the component design, while the design side of the consideration of reuse, maintenance, and so on front-end engineers.

I think Bootstrap is also the product of a process that finally took off from the products.

Removed the CSS frame, the world is clean

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.