当前位置:网站首页>select tag custom style
select tag custom style
2022-08-05 02:18:00 【tengyuxin】
Reason for demand: I am also used to using various UI libraries in vue development, but the uncomfortable thing is that the styles of the UI components provided are difficult to cover. For example, the select I want to use, my interface style is dark blueColor, its white background does not meet the requirements, you have to go to the element-plus style file to modify it.
=", I thought, this kind of simple component, I can write by myself, the advantage can let me better grasp the selection itself and eliminate the uncertain parts.
="Afterwards, it can be used directly as a component
The following is a screenshot of my modified style

html structure in vue3
Inside vue3 script setup
vue3 style
outline attribute
When you click select, a border will appear. This border is called the peripheral border and does not account for the content size.The case is as follows
Document Note: Internet Explorer 8 (and later) supports the outline property only when !DOCTYPE is specified.
边栏推荐
- Oracle encapsulates restful interfaces into views
- 《.NET物联网从零开始》系列
- 使用SuperMap iDesktopX数据迁移工具迁移地图文档和符号
- 意识形态的机制
- 如何逐步执行数据风险评估
- 【MySQL series】- Does LIKE query start with % will make the index invalid?
- 记录谷歌gn编译时碰到的一个错误“I could not find a “.gn“ file ...”
- Chapter 09 Use of Performance Analysis Tools [2. Index and Tuning] [MySQL Advanced]
- 1349. 参加考试的最大学生数 状态压缩
- 迁移学习——Joint Geometrical and Statistical Alignment for Visual Domain Adaptation
猜你喜欢

.Net C# Console Create a window using Win32 API

蚁剑高级模块开发

常见的硬件延迟

Jincang database KingbaseES V8 GIS data migration solution (3. Data migration based on ArcGIS platform to KES)

1349. 参加考试的最大学生数 状态压缩

KingbaseES V8 GIS data migration solution (2. Introduction to the capabilities of Kingbase GIS)

【MySQL系列】- LIKE查询 以%开头一定会让索引失效吗

【C语言】详解栈和队列(定义、销毁、数据的操作)

【解密】OpenSea免费创造的NFT都没上链竟能出现在我的钱包里?

【Endnote】Word插入自定义形式的Endnote文献格式
随机推荐
ExcelPatternTool: Excel table-database mutual import tool
没有对象的程序员如何过七夕
ARM Mailbox
汇编语言之源程序
重新审视分布式系统:永远不会有完美的一致性方案……
浅谈数据安全治理与隐私计算
蚁剑高级模块开发
亚马逊云科技 + 英特尔 + 中科创达为行业客户构建 AIoT 平台
【OpenCV 图像处理2】:OpenCV 基础知识
J9数字货币论:web3的创作者经济是什么?
协作D2D局部模型聚合的半分散联合学习
转:查尔斯·汉迪:你是谁,比你做什么更重要
[Unity Entry Plan] Handling of Occlusion Problems in 2D Games & Pseudo Perspective
SuperMap iDesktop.Net之布尔运算求交——修复含拓扑错误复杂模型
js中try...catch和finally的用法
Using OpenVINO to implement the flying paddle version of the PGNet inference program
sql语句多字段多个值如何进行排序
Leetcode brushing questions - 22. Bracket generation
【PyQT5 绑定函数的传参】
开篇-开启全新的.NET现代应用开发体验