我想告诉浏览器将某些CSS类分配给与特定选择器匹配的元素.我可以用纯CSS做,如果有,怎么做?
示例:我希望h5带有id的div中的所有元素sidebar都具有该类ui-corners-all
h5
sidebar
ui-corners-all
html css
css ×1
html ×1