css
weixin_54362826
这个作者很懒,什么都没留下…
展开
-
Vue 项目知识点(二)
::v-deep 可代替 /deep/ 和 >>> 在 vue 中实现对样式的深层穿透 nth-of-type(),是当前元素父元素的同类型元素的第几个子元素 nth-child(),是当前元素父元素的第几个子元素,只使用一个类名及当前类名为子元素 .label dev:nth-child() ,当前元素为 dev ,父元素为 .label .label:nth-child() ,当前元素为 .label ,父元素为 .label 的父元素 ...原创 2021-10-20 11:05:35 · 153 阅读 · 0 评论 -
CSS练习
三角形 1. 等腰三角形 width: 0; border: 10px solid transparent; border-bottom-color: tomato; 2. 直角三角形 width: 0; border-top:20px solid transparent; border-right:20px solid coral; border-color: transparent coral transparent transparent; borde原创 2021-05-23 12:08:38 · 44 阅读 · 0 评论