A
A
Anton Antonov2017-07-10 01:25:44
css
Anton Antonov, 2017-07-10 01:25:44

How in svg do i have lines on hover??

I use the ui kit plugin, close, and when hovering over an element, I want the cross to fold horizontally into one line.
Here is the structure:




It turns out that you need to change the coordinates of the lines, I thought using jquery .attr () but it turns out ford =)
I would like to know how this is done correctly, thanks!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Filippenko, 2017-07-10
@alexfilus

Structure not attached.
In general, a folding cross can be done without SVG.
https://parisienne.ru/eshop/zhaket-vahine-mkt-studio/
You can see something similar on the mobile version.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question