Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the disadvantages of bootstrap

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you what are the shortcomings of bootstrap, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Twitter Bootstrap has many shortcomings. Let's take a look at these main questions:

It does not follow best practices

One of the biggest problems we encounter when using Twitter Bootstrap is that your DOM element will be crowded with a large number of classes. This breaks one of the basic rules of good web design: HTML no longer has semantics, and content and presentation are no longer separated. Front-end purists will find this quite annoying, thinking that it poses greater challenges to scalability, reusability, and maintainability. Presentation and interaction are no longer independent of content and are further enhanced in Twitter Bootstrap.

It will collide with my existing settings

What if you are airdropped into a large, half-done project and want to use Twitter Bootstrappy to enjoy all its benefits?

Unfortunately, you will encounter a lot of problems, and conflicts start with the generation of HTML, CSS, and JavaScript. Then there are their resources, and you have to go deep into the dark corners of the project to figure out which scripts and styles need to be deleted or replaced. Twitter Bootstrap will potentially create extra work, and when you go deep into the project, you will inevitably find and fix strange bugs, and your defense will defeat your goal of choosing it first.

Twitter Bootstrap is too heavy

Frankly, Twitter Bootstrap includes 126kb's CSS and 29kb's JavaScript. If you want to use all the features of Twitter Bootstap, you should consider the loading time of resources. Of course, this may not be a problem in some places, but in New Zealand the Internet has to cross the Pacific Ocean, and it will be slow for the data to get there. So consider your target market. Twitter Bootstrap will help you build an attractive and responsive website, but some mobile phone users will not be turned away because of slow loading time and power-consuming scripts.

Dizzy! My new website looks just like everyone else! "

Twitter Bootstrap is so popular that almost every developer will use it. Although it can certainly customize your application or website design later, you will find that time constraints force you to stick to a lot of vanilla Bootstrap styles. This can lead to the inadvertent creation of many similar, general-purpose and unforgettable sites. Because it is fast and easy to use off-the-shelf Twitter Bootstrap, innovation is often discarded. When you have tight time constraints, innovative designs that are different from others are hard to achieve in the structured environment of Bootstrap.

These are all the contents of this article entitled "what are the shortcomings of bootstrap?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 298

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report