摘要: 1. 声明变量 //Longhandlet x;let y = 20;//Shorthandlet x, y = 20; 2. 给多个变量赋值我们可以使用数组解构来在一行中给多个变量赋值。 //Longhandlet a, b, c;a = 5;b = 8;c = 12;//Shorthandlet 阅读全文
posted @ 2021-02-05 09:18 悟空dong 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1. css 一行文本超出... overflow: hidden;text-overflow:ellipsis;white-space: nowrap; 2.多行文本超出显示... display: -webkit-box;-webkit-box-orient: vertical;-webkit- 阅读全文
posted @ 2021-02-05 09:15 悟空dong 阅读(67) 评论(0) 推荐(0) 编辑