2 回答

TA貢獻(xiàn)2019條經(jīng)驗(yàn) 獲得超9個(gè)贊

TA貢獻(xiàn)2021條經(jīng)驗(yàn) 獲得超8個(gè)贊
決定了用如下的,bem推薦的方式,創(chuàng)建新的塊來解決
現(xiàn)在就是兩個(gè)block了,ranks為一種塊 rank為一種塊
錯(cuò)誤
<section class="comments">
<h2 class="comments__title"></h2>
<article class="comments__comment">
<h3 class="comments__comment-title"></h3>
</article>
<article class="comments__comment">
<h3 class="comments__comment-title"></h3>
</article>
</section>
正確 comments塊和comment塊
<section class="comments">
<h2 class="comments__title"></h2>
<article class="comment">
<h3 class="comment-title"></h3>
</article>
<article class="comment">
<h3 class="comment-title"></h3>
</article>
</section>
添加回答
舉報(bào)