摘要: 1. 直线圆角,通过单个伪元素的border-radius产生弧形 <template> <div class="tab-list"> <div v-for="tab in tabs" :key="tab.id" class="tab-item" :class="activeTab tab.id ? 阅读全文
posted @ 2023-12-12 16:04 全玉 阅读(74) 评论(0) 推荐(0) 编辑
摘要: sroll-snap-type基本用法 scroll-snap-type: none | [ x | y | block | inline | both ] [ mandatory | proximity ] 定义滚动捕捉类型 mandatory: mandatory是强制性的,一般就强制,效果符合 阅读全文
posted @ 2023-12-12 13:51 全玉 阅读(86) 评论(0) 推荐(0) 编辑