随笔分类 -  css

摘要:vue3选中后颜色赋值切换 html 定义html内容:class="sideIndex == index ? 'active' : ''" <div v-for="(res, index) in resData" :key="index" class="lside-list" :class="si 阅读全文
posted @ 2022-10-12 10:46 少年。 阅读(735) 评论(0) 推荐(0) 编辑
摘要:正方形 #square { width: 100px; height: 100px; background: red; } 长方形 #rectangle { width: 200px; height: 100px; background: red; } 圆形 #circle { width: 100 阅读全文
posted @ 2020-11-26 10:40 少年。 阅读(320) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示