Creating Custom Emmet Snippets In VS Code
Smashing Magazine
JUNE 28, 2021
Out of the box, there’s an img abbreviation, but there’s none for lazily loaded images. We can use the default abbreviation and just add the additional attributes and attribute values we need in square brackets. { "html": { "snippets": { "img:l": "img[width height loading='lazy']" } } }.
Let's personalize your content