当前位置:网站首页>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
边栏推荐
猜你喜欢

Windows安装redis并将redis设置成服务开机自启

The central control learning infrared remote control module supports network and serial port control

Example of data object mask used by SAP translate
![[educational codeforces round 80] problem solving Report](/img/54/2fd298ddce3cd3e28a8fe42b3b8a42.png)
[educational codeforces round 80] problem solving Report

C language: expression evaluation (integer promotion, arithmetic conversion...)

Amazon cloud technology entry Resource Center, easy access to the cloud from 0 to 1

2022年制冷与空调设备运行操作考试练习题及模拟考试

2022年流动式起重机司机考试题库模拟考试平台操作

从知识传播的维度对比分析元宇宙

Planning and construction of industrial meta universe platform
随机推荐
ARM调试(1):两种在keil中实现printf重定向到串口的方法
Redis expired key cleaning and deletion policy summary
通过流式数据集成实现数据价值(3)- 实时持续数据收集
[lnoi2014] LCA - tree chain subdivision - multipoint LCA depth and problems
MapReduce压缩
构建元宇宙时代敏捷制造的九种能力
CSP认证 202203-2 出行计划(多种解法)
Practice of Flink streaming batch integration in Xiaomi
How to use SQL statement union to get another column of another table when the content of a column in a table is empty
Planning and construction of industrial meta universe platform
杰理之系统事件有哪些【篇】
Go语言实践模式 - 函数选项模式(Functional Options Pattern)
Personal homepage software fenrus
论文阅读《Integrity Monitoring Techniques for Vision Navigation Systems》——5结果
2022年制冷与空调设备运行操作考试练习题及模拟考试
Understand scope
Odoo server setup notes
DBA常用SQL语句(6)- 日常管理
PHP two-dimensional array specifies that the elements are added after they are equal, otherwise new
元宇宙时代的职业规划与执行