摘要:
在fillText前设置font属性 ctx.font = 'normal bold 18px sans-serif'; 但是有继承问题: 解决方法 - 1: 先绘制字体不加粗部分, 再绘制需要加粗部分, 这样就不会被继承 解决方法 - 2: 一个一个的将不需要加粗的重置字体样式也是可以的 ctx. 阅读全文
摘要:
html 父元素 .container { display: flex; flex-wrap: wrap;} 子元素.list { width: 24%; height: 100px; background-color: skyblue; margin-top: 15px;}.list:not(:n 阅读全文