当前位置:网站首页>Depth selector
Depth selector
2022-04-23 09:54:00 【YoungMan_ 09】
Project development process , Component libraries are often used by third parties , In order to quickly build functional modules .
for example ; Use Element UI Walking lantern ( Shuffling figure ) Components
<el-carousel height="150px">
<el-carousel-item v-for="item in 4" :key="item">
<h3 class="small">{
{ item }}</h3>
</el-carousel-item>
</el-carousel>
At this time, I want to change the style or offset position of the left and right arrow indicators
View the built-in style code
Whether it's direct use button tag chooser Or is it Class name You can't change the style
This is because in the style Used in less(scss) and scoped
It's needed at this time Depth selector 了
for example , modify button Size and location , Use ::v-deep
::v-deep .el-carousel__arrow--left {
width: 50px;
height: 50px;
left: 100px;
background-image: url('~@/assets/images/indeximg/left.png');
}
::v-deep .el-carousel__arrow--right {
right: 100px;
width: 50px;
height: 50px;
background-image: url('~@/assets/images/indeximg/right.png');
}
There are other ways to write, such as >>> Or is it /deep/, But it doesn't work here , So use ::v-deep
Take a brief note of
版权声明
本文为[YoungMan_ 09]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230954210977.html
边栏推荐
- MapReduce核心和基础Demo
- 代码源每日一题 div1 (701-707)
- Custom login failure handling
- Classic routine: DP problem of a kind of string counting
- Mobius inversion
- ABAP implementation publishes restful services for external invocation example
- 工业元宇宙平台规划与建设
- [lnoi2014] LCA - tree chain subdivision - multipoint LCA depth and problems
- [COCI] lattice (dichotomy + tree divide and conquer + string hash)
- failureForwardUrl与failureUrl
猜你喜欢
Example of data object mask used by SAP translate
论文阅读《Integrity Monitoring Techniques for Vision Navigation Systems》——3背景
工业元宇宙平台规划与建设
High paid programmer & interview question series 91 limit 20000 loading is very slow. How to solve it? How to locate slow SQL?
杰理之更准确地确定异常地址【篇】
NEC红外遥控编码说明
Nvidia最新三维重建技术Instant-ngp初探
ABAP implementation publishes restful services for external invocation example
JS what is an event? Event three elements and operation elements
[COCI] lattice (dichotomy + tree divide and conquer + string hash)
随机推荐
Classic routine: DP problem of a kind of string counting
2022年制冷与空调设备运行操作考试练习题及模拟考试
構建元宇宙時代敏捷制造的九種能力
SAP pi / PO soap2proxy consumption external WS example
2022年广东省安全员A证第三批(主要负责人)考试试题及答案
Go语言实践模式 - 函数选项模式(Functional Options Pattern)
DBA常用SQL语句(6)- 日常管理
Introduction to sap pi / PO login and basic functions
ABAP 7.4 SQL Window Expression
构建元宇宙时代敏捷制造的九种能力
Career planning and implementation in the era of meta universe
Yarn资源调度器
SAP ECC connecting SAP pi system configuration
论文阅读《Integrity Monitoring Techniques for Vision Navigation Systems》——5结果
Redis 过期 key 清理删除策略汇总
正大国际讲解道琼斯工业指数到底是什么?
Comparison of overloading, rewriting and hiding
杰理之用户如何最简单的处理事件【篇】
ABAP publishes OData service samples from CDs view
[Niuke practice match 68] fans of Niuniu (matrix fast power cycle matrix optimization)