摘要: https://developer.mozilla.org/zh-CN/docs/Web/CSS/clip-path <clip-source> 用 <url> 表示剪切元素的路径 <basic-shape> 一种形状,其大小和位置由<几何盒>值定义。如果没有指定几何框,则边框将用作参考框 <geo 阅读全文
posted @ 2020-06-09 10:24 deajax 阅读(135) 评论(0) 推荐(0) 编辑
摘要: .reflect { -webkit-box-reflect:below 0 linear-gradient(transparent, rgba(255,255,255,0.1)); } 语法 box-reflect:none | <direction> <offset> <mask-box-ima 阅读全文
posted @ 2020-03-20 14:14 deajax 阅读(126) 评论(0) 推荐(0) 编辑
摘要: <template> <li v-for="item in list" :key="item" @click.native="onPathClick(item.url)"></li> </template> <script> export default { data() { return { li 阅读全文
posted @ 2020-03-10 11:52 deajax 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 使用sphinx创建的文档,资源文件夹前面会带着下划线,本地使用没有问题,提交到github上面,想使用github pages的时候提示404,原因为github pages的jekyll模版会忽略下划线开头的文件,所以要禁用jekyll 禁用方法就是在项目根目录下添加一个空白文件,命名为:.no 阅读全文
posted @ 2020-03-06 21:08 deajax 阅读(834) 评论(0) 推荐(0) 编辑
摘要: Less 颜色操作 描述 LESS提供了许多有用的操作功能,以不同的方式改变和操作颜色,并采用相同单位的参数。 LESS支持一些颜色操作功能,如下表所示: S.N.指令及描述 1 saturate 它改变元素中颜色的强度或饱和度。 2 desaturate 它降低了元素中颜色的强度或饱和度。 3 l 阅读全文
posted @ 2020-02-27 16:08 deajax 阅读(2085) 评论(0) 推荐(0) 编辑
摘要: <template> <div id="app"> <transition :name="SkipSwitchName"> <router-view class="page" /> </transition> </div> </template> <script> export default { 阅读全文
posted @ 2020-02-15 09:45 deajax 阅读(641) 评论(0) 推荐(0) 编辑
摘要: .loop(@n, @i: 1) when (@i =< @n) { .primary-@{i} { background: mix(@primary, #fff, 10%*@i); } .secondary-@{i} { background: mix(@secondary, #fff, 10%* 阅读全文
posted @ 2019-12-07 10:00 deajax 阅读(1798) 评论(0) 推荐(0) 编辑
摘要: var span = document.querySelectorAll('.icon-cover'); for (var i = 0, len = span.length; i < len; i++) { console.log(span[i].querySelector('span').click()); } 阅读全文
posted @ 2019-11-02 20:08 deajax 阅读(1455) 评论(0) 推荐(0) 编辑
摘要: content: () => <div>HTML Code</div> 阅读全文
posted @ 2019-10-24 15:13 deajax 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 小程序: 阅读全文
posted @ 2019-10-22 21:09 deajax 阅读(264) 评论(0) 推荐(0) 编辑