gpt4 book ai didi

html - 选择的不同 css 行为 - 选项

转载 作者:行者123 更新时间:2023-11-28 06:33:25 25 4
gpt4 key购买 nike

我正在使用以下 html 语句:

<select ...>
<option value=""></option>
<option data-ng-repeat="type in xy" value="{{type.name}}" ng-style="{'border-left': '4px solid '+ type.color, 'color': type.color}" style="margin-bottom: 2px;"> {{type.name}}</option>
</select>

这在 Firefox 上运行良好,边框显示在左侧。对于 Chrome 和 IE 10,边框不显示。有谁知道我该怎么做才能在每个浏览器中保持连续?

最佳答案

here is the browser support properites look at once

你需要指定

-webkit- Chrome -moz- mozilla-o- 歌剧等

关于html - 选择的不同 css 行为 - 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34849388/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com