Emmet Plugin
Hi Everyone,
This is my first blog. So, please do not expect much from this, but everything needs a start, so let's get started:
What is Emmet?
Where to find this?
How to use it?
p.className
p#ID1
p[title="Hello"]
p{My Name is Siddhant.}
Some more magics by emmets?
Parent child relationship \>
Type div.class1>p.class2>p#id1>li\5* then the output will be:
<div class="class1"> <p class="class2"> <p id="id1"> <li></li> <li></li> <li></li> <li></li> <li></li> </p> </p> </div>
Sibling Relationship +
Type div+div+p
<div></div> <div></div> <p></p>
We can group sibling and parent child relationship
Type "div>(nav>ul>li\5>a)+footer>p"*
<div>
<nav>
<ul>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
</ul>
</nav>
<footer>
<p></p>
</footer>
</div>
Thank you guys for having the patience and reading till last, everything can't be covered but I promise most of it. To maintain the dignity of boredom, I finishing here, Have a great day.
Subscribe to my newsletter
Read articles from Siddhant Srivastava directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by