The question is amateurish, but I would love to figure it out. There is a development for the site https://makitatrading.ru/catalog/category/178/ (when clicking on a detail of the drawing, it is highlighted and then sent to the basket), I understand that this is implemented on the basis of SVG. All the details are drawn in the vector, saved in the svg format, get the code, which is inserted into the site. How is the backlight tied to a specific drawing location? What needs to be done to repeat this functionality with any other picture. Where to read about it? Thank!
|
<path>elements, which displays and hides them when clicked, that's all - andreymal