Loading

随笔分类 -  css

摘要:全局样式 /* 取消[type='number']的input的上下箭头 */ input::-webkit-inner-spin-button { -webkit-appearance: none !important; } input::-webkit-outer-spin-button { - 阅读全文
posted @ 2023-11-13 09:34 请叫我王小胖 阅读(645) 评论(0) 推荐(0)
摘要:vue中内容中间空格无论输入多少只会展示一个,可使用v-html来实现多空格展示 &nbsp; 英文空格 &emsp; 中文空格 <div v-html="'价&emsp;&emsp;格'"></div> 或者使用white-space: pre; 直接使用空格 <div style="white- 阅读全文
posted @ 2022-12-06 13:59 请叫我王小胖 阅读(2954) 评论(0) 推荐(0)
摘要:文字超出时折行 ::v-deep .tree { width: 100%; .el-tree-node { white-space: normal; .el-tree-node__content { height: 100%; align-items: start; } } } 文字超出时省略 :: 阅读全文
posted @ 2022-11-18 23:05 请叫我王小胖 阅读(1307) 评论(0) 推荐(0)
摘要:1、first-child first-child表示选择列表中的第一个标签。例如:li:first-child{background:#fff} 2、last-child last-child表示选择列表中的最后一个标签,例如:li:last-child{background:#fff} 3、nt 阅读全文
posted @ 2022-07-28 11:18 请叫我王小胖 阅读(10454) 评论(0) 推荐(0)
摘要:http://color.oulu.me/index.html 阅读全文
posted @ 2022-01-18 08:59 请叫我王小胖 阅读(16) 评论(0) 推荐(0)