Difference between revisions of "Emmet"

From rbachwiki
Jump to navigation Jump to search
Line 14: Line 14:
'''margin bottom'''
'''margin bottom'''
  mb10
  mb10
'''id'''
#myid
'''H1 with class'''
h1.myclass
''' More than 1 class'''
.class1.class2
'''Add Class and Id '''
#myid.myclass1.class2
'''Adding content'''
h1{My title}
'''Class and title'''
h1.red{my red title}

Revision as of 14:40, 8 May 2018

p10 - padding 10 px
 div.featured>h1+h2+p
 <div class="featured">
  <h1></h1>
  <h2></h2>
  <p></p>
 </div>

Text align center

tac

margin bottom

mb10

id

#myid

H1 with class

h1.myclass

More than 1 class

.class1.class2

Add Class and Id

#myid.myclass1.class2

Adding content

h1{My title}

Class and title

h1.red{my red title}