css
文章平均质量分 85
南桥几许
这个作者很懒,什么都没留下…
展开
-
uni-app编译小程序样式的条件编译不执行
最近在用uni-app编译小程序的时候发现样式没有条件编译 之前的代码是这样写的<style lang="scss" scoped>page { //#ifdef H5 padding-top: var(--status-bar-height); //#endif }.page-header { // #ifdef H5 padding-top: calc(13rpx + var(--status-bar-height)); // #endif原创 2020-06-23 15:11:44 · 5420 阅读 · 0 评论 -
css选择器
```css .leftBox { width: 200px; border: solid 1px #999; padding: 15px; .title { font-size: 22px; color: #868686; } .chile { line-height: 40px; &:nth-of-type(1) { /* 选择第一..原创 2020-11-12 11:38:21 · 53 阅读 · 0 评论