Emmet HTML div tag with multiple words class name

day picture day · Sep 9, 2015 · Viewed 8.5k times · Source

I did not find the answer on documentation for this question.

As we know, div.container gives

<div class="container">

However, what abbreviation shall be used for

<div class="row placeholders">

Anyone knows? Thanks.

Answer

MattDMo picture MattDMo · Sep 9, 2015

From the Emmet Cheat Sheet:

p.class1.class2.class3
    <p class="class1 class2 class3"></p>

So, div.row.placeholders will give you:

<div class="row placeholders"></div>