两种方式
1、自动调整
$(‘#ajaxPage’).modal(‘show’).css({
width: ‘auto’,
‘margin-left’: function () {
return -($(this).width() / 2);
}
});
2、增加style,设置宽度
时间:2023-04-19 16:24:18
两种方式
1、自动调整
$(‘#ajaxPage’).modal(‘show’).css({
width: ‘auto’,
‘margin-left’: function () {
return -($(this).width() / 2);
}
});
2、增加style,设置宽度
WORD表格中文字无法垂直居中 – CSS – 前端 css样式新闻列表代码
2024-02-10
html下边框占位置怎么解决 – CSS – 前端 css文字行内垂直居中显示
2019-08-16
英语各种词性的位置顺口溜 – CSS – 前端 css 修改单选按钮样式
2023-05-20