![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
傲雪当歌
这个作者很懒,什么都没留下…
展开
-
layui-table和viewer.js搭配使用
table.render({ elem: '#farmpurchase-table', url: '', method: 'GET', where: { userId: config.getUser().userId, access_token: config.getToken().access_token },原创 2021-03-13 09:56:04 · 759 阅读 · 0 评论 -
html对齐总结
1.div居中 margin-left和margin-right-auto <body> <div style=""> <div style="width: 500px;height: 30px;margin-left: auto;margin-right: auto;background-color: green"></div> </div> </body> 效果 margin-auto <body> &l原创 2020-10-13 15:50:20 · 3381 阅读 · 0 评论 -
去掉html页面四周的空白
给body标签设定内外边距为0的样式 <body style="margin:0px;padding:0px;"> </body>原创 2020-10-09 17:23:45 · 756 阅读 · 0 评论 -
前端元素居中总结
div内有多个div <style> .flex-center { padding: 8px; display: flex; justify-content: center; border: 2px dashed #f69c55; } .flex-center >div { padding: 8px; .原创 2020-08-04 16:26:29 · 188 阅读 · 0 评论