前端element |
您所在的位置:网站首页 › keyhover › 前端element |
🚀作者简介
主页:水香木鱼的博客 专栏:后台管理系统 能量:🔋容量已消耗1%,自动充电中… 笺言:用博客记录每一次成长,书写五彩人生。 📒技术聊斋 (1)展示template使用el-card时,会导致点击事件失效,用 @click.native=""可解决问题。 模型推理 云边端协同 资源监控 (2)样式less盒子默认效果 .el-card { box-shadow: none; width: 360 / @remvw; height: 360 / @remvw; text-align: center; padding-bottom: 50 / @remvw; border: none; } hover效果【建议:使用 box-shadow 、 border-color、 transition】 .el-card:hover { box-shadow: 0 1px 6px rgba(255, 255, 255, 0.932); border-color: #eee; transition: all 0.2s ease-in-out; } .conter { width: 1220 / @remvw; margin: 0 auto; display: flex; justify-content: space-around; .el-card { box-shadow: none; width: 360 / @remvw; height: 360 / @remvw; text-align: center; padding-bottom: 50 / @remvw; border: none; .svg { width: 148 / @remvw; height: 130 / @remvw; margin: 30 / @remvw 0 40 / @remvw 0; } .stitle { font-size: 30 / @remvw; color: #fff; z-index: 11; margin-bottom: 10 / @remvw; } .wire { display: flex; justify-content: center; i { width: 50 / @remvw; height: 4 / @remvw; background-color: #fff; } } } .el-card:hover { box-shadow: 0 1px 6px rgba(255, 255, 255, 0.932); border-color: #eee; transition: all 0.2s ease-in-out; } } // 渐变 .gradualChangeOne { opacity: 90%; background-image: linear-gradient(to bottom right, #0ad1d1, #10607c); } .gradualChangeTwo { opacity: 85%; background-image: linear-gradient(to bottom right, #ffc4b9, #b91f03); } .gradualChangeThree { opacity: 90%; background-image: linear-gradient(to bottom right, #870eff, #4c09be); } 📓精品推荐🔋vue非常实用的几行代码【日期处理、字符串处理、数组处理、颜色操作】 🔋vue实现刷新页面随机切换背景图【适用于登陆界面】 🔋vue实现keep-alive页面缓存【三步骤配置,一步到位】 🔋vue实现搜索、提交等功能【回车事件】 🔋vue实现pdf在线预览业务 木鱼谢语:感谢各位技术大牛们的点赞👍收藏🌟,每一期都会为大家带来快速适用于业务的文章,让大家做到cv即可。 |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |