摘要: // 屏幕适配 function setAppScale() { var ratioY = $(window).height()/1680; var ratioX = $(window).width()/5760; $("body").css({ transform: "scale("+ratioX 阅读全文
posted @ 2020-10-26 18:50 _0123456789 阅读(2771) 评论(0) 推荐(0) 编辑
摘要: 【文字渐变】background-image: -webkit-linear-gradient(top, #fff, #31E1E5); background-image: -moz-linear-gradient(top, #fff, #31E1E5); background-image: -o- 阅读全文
posted @ 2020-10-26 12:02 _0123456789 阅读(81) 评论(0) 推荐(0) 编辑
摘要: <img class="imgStyle" width="24px" height="22px" src="" alt=""> .imgStyle { display:block; width: 24px; height:22px; background: url(../img/aa.png) no 阅读全文
posted @ 2020-10-26 11:09 _0123456789 阅读(381) 评论(0) 推荐(0) 编辑
摘要: .all-list::-webkit-scrollbar { width: 13px; height: 0; cursor: pointer; } .all-list::-webkit-scrollbar-thumb { width: 13px; height: 36px; background: 阅读全文
posted @ 2020-10-26 11:02 _0123456789 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 【折线图中,折线的宽度】 series: [{ name: type[0], type: 'line', stack: '总量', areaStyle: {}, data: value[0], itemStyle: { normal: { lineStyle: { width: 5 } }, } } 阅读全文
posted @ 2020-10-26 10:32 _0123456789 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 添加vertical-align: top;就可以解决 是基线对其问题(vertical-align 属性),https://www.w3school.com.cn/css/pr_pos_vertical-align.asp进一步来说,两个 inline-block 的元素都按照默认的垂直对齐方式为 阅读全文
posted @ 2020-10-26 10:27 _0123456789 阅读(140) 评论(0) 推荐(0) 编辑
摘要: <button onclick="launchFullscreen(document.documentElement);">启动全屏</button> function launchFullscreen(element) { if (element.requestFullscreen) { elem 阅读全文
posted @ 2020-10-26 10:25 _0123456789 阅读(114) 评论(0) 推荐(0) 编辑