我最近已更新到SingularityGS 1.4.0并遇到问题与我的.container
类使用@include clearfix;
现在包括overflow:hidden
属性。与clearfix混合溢出div容器溢出︰隐藏
对于幻灯片组分,我使用正/负的利润率,以显示箭重叠箭头.container
以外:
.container { //Container for the grid system
background: $background-color;
max-width: $site-width;
margin: 0 auto;
position: relative;
@include clearfix;
@include breakpoint($large-break) {
border-left: 20px solid #fff;
border-right: 20px solid #fff;
width: $site-width;
}
.container {
border: 0px;
margin: 0px;
clear: both;
}
}
.left-arrow, .right-arrow {
position: absolute;
cursor: pointer;
margin-top: -20px;
font-size: 0.8em;
width: 41px;
height: 41px;
top: 50%;
}
.left-arrow {
left: -10px;
background: url(/images/icons.png) no-repeat -153px -146px;
}
.right-arrow {
right: -10px;
background: url(/images/icons.png) no-repeat -197px -146px;
}
这里的问题的屏幕截图:
https://www.dropbox.com/s/yl4ch4yowe61kz7/Screenshot%202014-09-03%2010.06.50.png?dl=0
我应该在我的容器中使用clearfix mixin以外的东西?
编辑: - 增加Sassmeister issue as requested
请尝试使用http://sassmeister.com/ – Snugug 2014-09-03 17:41:53
[Sassmeister issue as requested]重新创建您的问题(http://sassmeister.com/gist/bc09c9dec57cb4a4421e) – Madclouds 2014-09-03 18:17:09