禁用一个特殊div的空间

时间:2016-10-24 12:43:12

标签: html css flexbox

https://stackoverflow.com/a/9322505父div有一部分css规则:

{
    z-index: 1000;
    width: 430px;
    background: #FFF none repeat scroll 0% 0%;
    max-width: 750.5px;
    outline: medium none;
    float: right;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    flex-direction: row;
    flex-direction: -webkit-row;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-wrap: nowrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-around;
    -ms-flex-pack: justify;
    -webkit-flex-justify-content: space-around;
}

如何禁用一个子div的空格?跟随css:

.resultsDiv {
    position: absolute;
    top: 47px;
    left:0; 
    right: 0;
    width: 100%;
}

因为,我知道,应该有像justify-content-self这样的东西:space-around

0 个答案:

没有答案