css 移动设备上的自定义订单列

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 移动设备上的自定义订单列相关的知识,希望对你有一定的参考价值。

/*-----------------[Start Custom Column Order]----------------*/

@media all and (max-width: 980px) {

.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}}


/*-----------------[End Custom Column Order]----------------*/

以上是关于css 移动设备上的自定义订单列的主要内容,如果未能解决你的问题,请参考以下文章

css 移动设备上的2x2列

css 移动设备上的突出反向列顺序

输入焦点时在 iOS(和所有移动设备)上的自定义滚动

在 WooCommerce 管理员订单列表中添加带有付款网址的自定义列

php 订单列表上的自定义操作按钮

WooCommerce 4.0 电子邮件、管理员订单和感谢页面上的自定义结帐和 ACF 字段值