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
阅读全文
摘要: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
阅读全文
摘要:/* 显示一行,省略号 */ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; /* 显示两行,省略号 */ text-overflow: -o-ellipsis-lastli
阅读全文
摘要:1、控制单一属性,进行单一属性的样式过度 .class1 { width: 100px; transition: width 2s; -moz-transition: width 2s; /* Firefox 4 */ -webkit-transition: width 2s; /* Safari
阅读全文