html – 如何使用CSS中的空格引用长类名?

我正在尝试设计一些Drupal输出.特别是,我试图用一个超长的名字(包括空格)引用一个类.我不清楚这个的语法.原谅我,我是一个CSS新手.看到:
<article id="node-38" class="node node-article node-teaser contextual-links-region node-even published with-comments node-teaser clearfix" about="/~actionin/node/38" typeof="sioc:Item foaf:Document">
    <header>
        <h2 property="dc:title" datatype=""><a href="/~actionin/node/38">National Nutrition Month: march 2012: “Get Your Plate in Shape”</a></h2>

我最终要参考H2的属性.我以为会是这样的:

.node SOMETHING-HERE .header h2 { declaration; }

我不能仅仅引用节点,因为它被用于其他地方用于其他目的.我想要具体,只选择这个类:

class="node node-article node-teaser contextual-links-region node-even published with-comments node-teaser clearfix"

解决方法

使用点(.)可以组合多个类
.node.node-article.node-teaser.contextual-links-region.node-even.published.with-comments.node-teaser.clearfix {
 ...
}

相关文章

vue阻止冒泡事件 阻止点击事件的执行 &lt;div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些