-
Notifications
You must be signed in to change notification settings - Fork 0
Update Image Size
Amadej Glasenčnik edited this page Dec 23, 2023
·
1 revision
Many web-developers forget to write width and height attributes for <img>
tags which leads to poor UX. This action helps you to automate this process: simply place caret inside <img>
tag and run this action to add/update width and height attributes.
In CSS, place caret inside property value with url()
function to add/update width and height properties for current rule.
Note that this action also works for absolute URLs: it will start searching for requested file from host file’s folder and then will traverse up the tree.
This action can be invoked by pressing: Ctrl + Shift + U
This documentation is based on the concepts and ideas of Emmet.
For the source code of EmmetVS, please visit the GitHub repository.