阅读背景:

Bootstrap - 按钮切换不能正常工作

来源:互联网 

I have a lot of buttons together and I want to toggle only one, so it's color turns red. When another button is clicked the first button goes back to normal and the second button clicked turns red. My problem is that when you use Twitter Bootstrap to toggle radio buttons, then it does not work right when they are inside tags. When I removed them then it started working right, but there has to be a way around it. I don't want to remove tags cause otherwise it messes up my hole design and then it puts all those buttons side by side, which is probably what class 'btn-group' should do. If I don't use btn-group it still does not work, the problem is with tags.I have a lot of buttons together and I want to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: