gpt4 book ai didi

jQuery 用户界面 : How to customize buttonset corners?

转载 作者:太空宇宙 更新时间:2023-11-04 04:12:20 28 4
gpt4 key购买 nike

如下图,如何自定义jQuery UI单选按钮集的 Angular ?除了在按钮的右侧有圆 Angular ,我如何自定义它并使其在底部有圆 Angular ?

jQuery UI buttonset

感谢您的帮助!

最佳答案

在 jQuery UI 脚本之后使用以下 jQuery

下面的例子

<div id="radio">
<input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
<input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice 2</label>
<input type="radio" id="radio3" name="radio"><label for="radio3">Choice 3</label>
</div>

使用这个脚本

 // select last radio label
var radio = $( "#radio" ).find('label').last();

//update border radius
$(radio).css('border-radius','0px 0px 4px 4px');

关于jQuery 用户界面 : How to customize buttonset corners?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20490337/

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