0
点赞
收藏
分享

微信扫一扫

select框内文字居中

柠檬果然酸 2022-02-22 阅读 207
csshtmllayui

css中:

.layui-unselect{
            text-align: center;
        }

html中:

<select name="pretype" id="pretype" lay-filter="pretype" autocomplete="false">
		<option value="新增設備" selected>新增設備</option>
		<option value="影響方面">影響方面</option>
</select>

效果如图:

举报

相关推荐

0 条评论