我是一个整洁的新手。我有一个外部容器和 2 个内部容器。一个是leftcontainer,一个是right。右容器比左容器有更多文本,因此高度自动扩展。左侧容器的内容较少,因此它的高度与另一个容器不匹配。 如何将左容器高度设置为整齐的右容器?这是我的形象。
这是代码
.mainContainer
{
@include outer-container;
}
.rightcontainer
{
padding:10px;
background-color:orange;
@include media($mobile) {
@include span-columns(10 of 10)
}
@include media($tablet) {
@include span-columns(5 of 10)
}
@include media($laptop) {
@include span-columns(5 of 10)
}
@include media($large-desktop) {
@include span-columns(5 of 10)
}
}
.leftcontainer
{
padding:10px;
background-color:silver;
@include media($mobile) {
@include span-columns(10 of 10)
}
@include media($tablet) {
@include span-columns(5 of 10)
}
@include media($laptop) {
@include span-columns(5 of 10)
}
@include media($large-desktop) {
@include span-columns(5 of 10)
}
}
谢谢 由于整洁有它自己的设置,请告诉我如何在整洁中做?