
css样式
染指悲剧
这个作者很懒,什么都没留下…
展开
-
css 伪类做箭头指向
下.box{ width: 200px; height: 40px; background-color:red; margin: 0 auto;}.box:after{ position: relative; top: 48px; content: ''; border-top: 10px solid red; border-left: 10px solid transparent; border-right: 10px solid transparent;}原创 2022-01-20 14:29:07 · 688 阅读 · 0 评论 -
flex布局 左边固定右边自适应宽度,上边固定下边自适应高度
两块内容 <div class="box"> <div class="left"></div> <div class="right"></div> </div>1、左边宽度固定,右边宽度自适应铺满 .box { display:flex; height:100%; width:100%; } .left { height:100%;原创 2021-12-09 17:05:45 · 9525 阅读 · 0 评论 -
列表圆角样式
 in 10" :key="index" @click="liCLick(index)" :class="num == index?'act':num == index+1?'actPre':num == index-1?'actNet':''".原创 2021-06-30 11:10:57 · 183 阅读 · 0 评论 -
利用css border画图案
.demo{ border-top: 100px solid red; border-right: 50px solid transparent; border-left: 50px solid transparent; width: 0px; height: 0px; } .demo{ border-top: 100px solid red; border-right: 50px solid blue; border-left..原创 2020-12-03 17:05:45 · 258 阅读 · 0 评论