Home > Web Front-end > JS Tutorial > body text

How to solve the incompatibility problem between easyui and bootstrap

PHPz
Release: 2018-10-13 16:55:47
Original
3054 people have browsed it

When I was working on a project, I encountered a situation where easyui and bootstrap were mixed. When using it, I discovered the problem of panel conflict and found a solution online:

[Related video recommendation: Bootstrap Tutorial]

When using bootstrap and easyui, I found many conflicts, including datagrid control and combo, etc. , the following problem corrections are made to ensure that easyui displays normally

  1. /*bootstrap兼容问题和easyui的bug*/
    Copy after login
  2. .panel-header, .panel-body {  
    border-width: 0px;  
    }  
    .datagrid,.combo-p{  
    border:solid 1px #D4D4D4;  
    }  
    .datagrid *{  
    -webkit-box-sizing: content-box;  
    -moz-box-sizing: content-box;  
    box-sizing: content-box;  
    }
    Copy after login

The basic principle is to restore the default settings in easyui. Let the scope of bootstrap not be within the scope of css defined by easyui control.

The above is the detailed content of How to solve the incompatibility problem between easyui and bootstrap. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!