简体   繁体   中英

Bootstrap CSS Omit Styling

I am trying to use a small snippet I found to create a slide out tab on my page. Everything seems to work functionality wise however there is a style that is being applied from bootstrap that is breaking the look of it.

This is what it should look like when the following CSS is turned off:

*, *:before, *:after {
box-sizing: border-box;
}

在此处输入图片说明

However, when it is applied it breaks it:

在此处输入图片说明

Is there any way to prevent that css from being used on that DIV?

尝试为具有灰色背景的元素提供.clearfix类。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM