摘要:
replace :to="{path:'/path1/param'}" 类似引入iframe的效果 <div class="first_tabs" @click.capture="gotoNewsLists"> <router-link :to="{ path: '/newsInfo/0'}" re 阅读全文
摘要:
<transition name="fade"> </transition> 可以替代css中再用transition的属性 阅读全文
摘要:
transform-Origin属性允许您更改转换元素的位置。 2D转换元素可以改变元素的X和Y轴。 3D转换元素,还可以更改元素的Z轴。 为了更好地理解Transform-Origin属性,请查看这个: https://www.runoob.com/try/try.php?filename=try 阅读全文
摘要:
ul{ margin-bottom: 20px; & >li { margin-bottom: 0; } } & 表示嵌套的上一级 这是sass的语法,代表上一级选择器 解释成CSS代码如下 ul{margin-bottom: 20px;} ul > li {margin-bottom: 0;} 阅读全文
摘要:
/* 渐变轴为45度,从蓝色渐变到红色 */ linear-gradient(45deg, blue, red); &::before { @include size(100%, 4px); position: absolute; left: 0; bottom: 0; background: li 阅读全文
摘要:
<div class="first_tab_item pointer" :class="{first_tab_item_active: tabIndex<4}" @click="changeTab(0)"> <i class="iconfont icon-yiliao"></i>{{ $t('pro 阅读全文
摘要:
img { @include size(100%); transition: all 0.5s linear; &:hover { transform: scale(1.1); } } 阅读全文