摘要: 16、元素占满整个屏幕 heigth如果使用100%,会根据父级的高度来决定,a56爆大奖在线娱乐使用100vh单位。 .dom{ width:100%; height:100vh; } 17、CSS实现a56爆大奖在线娱乐两端对齐 .wrap { text-align: justify; text-justify: distri 阅读全文
posted @ 2021-07-22 17:22 喆星高照 阅读(136) 评论(0) 推荐(2) 编辑
摘要: 1、文字超出部分显示省略号 单行a56爆大奖在线娱乐的溢出显示省略号(一定要有宽度) p{ width:200rpx; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } 多行a56爆大奖在线娱乐溢出显示省略号 p { display: -webkit- 阅读全文
posted @ 2021-07-22 16:29 喆星高照 阅读(324) 评论(0) 推荐(1) 编辑
摘要: 1、输入一个值,返回其数据类型** function type(para) { return Object.prototype.toString.call(para) } 2、数组去重 function unique1(arr) { return [...new Set(arr)] } functi 阅读全文
posted @ 2021-07-22 16:15 喆星高照 阅读(132) 评论(0) 推荐(0) 编辑