css 移动按钮 - 选择下方的间距以适应按钮 - gmob-1用于一个按钮 - gmob2用于两个按钮

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 移动按钮 - 选择下方的间距以适应按钮 - gmob-1用于一个按钮 - gmob2用于两个按钮相关的知识,希望对你有一定的参考价值。


.butFrame {
  /* Change This Dependong On How Many Buttons You Have*/
    width:48%; 
}

.butFrame:nth-child(-n+2){
       /* (leaves 10px space below the first TWO butframes)*/
      margin-bottom:10px;
}

.butFrame {
  /* Change This Dependong On How Many Buttons You Have*/
    width:100%; 
}

.butFrame:nth-child(-n+3){
       /* (leaves 10px space below the first THREE butframes)*/
      margin-bottom:10px;
}

以上是关于css 移动按钮 - 选择下方的间距以适应按钮 - gmob-1用于一个按钮 - gmob2用于两个按钮的主要内容,如果未能解决你的问题,请参考以下文章