Solve Some css class conflicts between bootstrap and easyUI ., Bootstrapeasyui

Source: Internet
Author: User

Solve Some css class conflicts between bootstrap and easyUI ., Bootstrapeasyui

Today, we found that the css classes of bootstrap and easyui have repeatedly used a very stupid solution. Such a trivial issue cannot be searched on the Internet.

I first reference bootstrap and then reference the easy UI. bootstrap will be overwritten. If the boot style is abnormal, it will be ugly. If there is a problem with the easy UI, the page will be invisible, so I added my personal mybootstrap.css after easy UI, so the renaming and copying covered by bootstrap won't conflict with each other.

For example, replace all panelas with b-paneland store them to mybootstrap.css. Use B-panel for reference.

. B-panel {margin-bottom: 20px; background-color: # fff; border: 1px solid transparent; border-radius: 4px;-webkit-box-shadow: 0 1px 1px rgba (0, 0, 0 ,. 05); box-shadow: 0 1px 1px rgba (0, 0, 0 ,. 05 );}. b-panel-body {padding: 15px ;}. b-panel-heading {padding: 10px 15px; border-bottom: 1px solid transparent; border-top-left-radius: 3px; border-top-right-radius: 3px ;}. b-panel-heading>. dropdown. dropdown-toggle {color: inherit ;}. b-panel-title {margin-top: 0; margin-bottom: 0; font-size: 16px; color: inherit; The following is still very long, we copied all Panel-related items and agreed to replace Ctrl + F.

In fact, there are other location conflicts. I will use this one and use it in other places.

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.