flex-space-between
display:flex;justify-content:space-between;flex-column
display:flex;flex-flow:column;flex居中
display:flex;flex-flow:column;justify-content:center;align-items:center;absolute居中
position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);阴影
box-shadow:0 0 5px 5px #ccc;动画
transition:all 0.3s;文字超出长度自动隐藏显示省略号
display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;全局
* {-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing: antialiased;line-height:1.6;}
*:focus {outline:none;background-color:transparent;}
body,html {margin:0;padding:0;}
h1,h2,h3,h4,h5,h6 {margin:0;padding:0;}
a,s,em,u,i {font-style:normal;text-decoration:none;}
b,strong {font-weight:bold;}
p,pre,form {margin:0;}
a img {width:100%;}
dl,dt,dd,menu,ol,ul,li {margin:0;}
nav ul,nav ol,li {list-style:none;list-style-image:none;}
img {display:block;border:0;-ms-interpolation-mode:bicubic;margin:0;}
button,input,select,textarea {font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;-webkit-appearance:none;border:none;outline:none;}
.ellipsis {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hidden {display:none;}有新入行同学向丁老师咨询,在使用Uniapp做微信小程序时,是选择Vue2还是Vue3呢?哪个开发微信小程序更好一点,两者有什么区别呢?今天丁老师给大家介绍一下。首先,我们来介绍一下Vue2和Vue3。Vue2和Vue3是Vue.js框...
支付宝支付提示“暂时无法获取订单信息,请稍候再试”的解决办法
有同学咨询丁老师,他们公司之前开发的微信小程序,已经运行了四年多,不管是从UI界面上来说,还是功能使用上,都不太理想,想对小程序进行升级改造,那么是对小程序进行二次开发好呢,还是重新做好呢?今天丁老师针对这个问题,从小程序升级所涉及的开...
在使用ACME申请SSL证书时,输入了命令:acme.sh --issue -d www.xxx.com --dns dns_dp --server xxx来生成证书,但是结果却返回:Error creating new order. ...
phpstorm程序中,在打开html时总会出现对 style属性的折叠和隐藏,这样在检查代码的时候非常不直观,容易漏掉很多东西,非常的不方便,如图:
由老版本7.2自动升级时,会出现很多问题,建议在终端手动升级。升级命令:curl http://download.bt.cn/install/update_panel.sh|bash
有同学反应,在使用photoshop时,忽然文件打不开了,先后试了下psd格式、jpg格式、png格式的,等等等等,全都打不开,重启了电脑也不行,这是怎么回事呢?经过丁老师研究后发现,这是因为安装的是非正版photoshop,在使用时,没有...
在php代码中,遇到复杂的sql语句,需要拼装sql语句,如:$sql='id 10;' $sql=' and( status in(1,2,3,4,5) and id not in (select id from ...