05 2021 档案

摘要:1、for、forEach、for...of const list = [1,2,3,4,5] list.forEach((item, index, list) => { console.log(item); // 1 2 3 4 5 console.log(index); // 0 1 2 3 4 阅读全文
posted @ 2021-05-28 11:49 迷你胡丶 阅读(376) 评论(0) 推荐(0) 编辑
摘要:1、nginx文件配置 location ^~ /xxx/ { proxy_pass https://xxx.com/; } 2、cd /usr/local/nginx/nginx-1.13.7 然后执行如下命令 [root@dex nginx-1.13.7]# ./configure --pref 阅读全文
posted @ 2021-05-26 09:28 迷你胡丶 阅读(307) 评论(0) 推荐(0) 编辑
摘要:/* 显示一行,省略号 */ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; /* 显示两行,省略号 */ text-overflow: -o-ellipsis-lastli 阅读全文
posted @ 2021-05-14 13:14 迷你胡丶 阅读(130) 评论(0) 推荐(0) 编辑
摘要:1、控制单一属性,进行单一属性的样式过度 .class1 { width: 100px; transition: width 2s; -moz-transition: width 2s; /* Firefox 4 */ -webkit-transition: width 2s; /* Safari 阅读全文
posted @ 2021-05-14 13:12 迷你胡丶 阅读(445) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示