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.