摘要:
字体文件下载,然后解压得到 UnidreamLED.ttf 在入口文件加上下面css代码 @font-face { font-family: LEDFont; font-size: 36px; src: url('./UnidreamLED.ttf'); } 需要显示的数字 加上class LEDF 阅读全文
摘要:
.class{ text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } 阅读全文