太不容易了,二十年了,select下拉框元素终于支持完全自定义了,appearance属性,popover交互,CSS锚点定位,N个伪元素四者结合。
文章关键字 ‘popover’
好诶,select下拉框元素支持样式完全自定义啦!
2025年07月4日,星期五标签:::checkmark, ::picker-icon, @starting-style, allow-discrete, anchor-size(), appearance, base-select, hr, optgroup, option, popover, select, 锚点定位
发布在 CSS相关 | 没有评论 »
告别JS浮层,全新的CSS Anchor Positioning锚点定位API
2024年06月27日,星期四标签:@position-try, absolute, anchor-size(), API, inset-area, popover, popovertarget, position-try-options, position-visibility, powerFloat, visibility, 锚点, 锚点定位
发布在 CSS相关 | 11 条评论 »
时代变了,该使用原生popover属性模拟下拉了
2024年01月11日,星期四标签:button, dialog, html, popover, popovertarget, radio, z-index
发布在 JS实例 | 8 条评论 »
查漏补缺,我仍未知道的HTML nonce和popover属性
2023年08月10日,星期四标签:Content-Security-Policy, crypto, dialog, html, meta, nonce, popover, unsafe-inline, XSS攻击
发布在 HTML相关 | 7 条评论 »