如何使用jQuery选择所有应用了特定CSS属性的元素?例如:
.Title
{
color:red;
rounded:true;
}
.Caption
{
color:black;
rounded:true;
}
如何通过名为“圆形”的属性进行选择?
CSS类名非常灵活。
$(".Title").corner();
$(".Caption").corner();
如何将这两个操作替换为一个操作。也许是这样的:
$(".*->rounded").corner();
有没有更好的方法来做到这一点?
qq_遁去的一_1
跃然一笑
慕村225694