A
A
Anton Melentiev2017-03-22 06:50:05
HTML
Anton Melentiev, 2017-03-22 06:50:05

How to solve the problem with the vector on the site?

Good afternoon! I have two huge problems with the vector on the site. The vector through the polygon draws the outline of the floor of a residential building on hover. Made to show apartment layouts of a specific floor.
1. SVG works on all browsers except Mozilla.
2. If you smoothly slide on the floors, then the effect normally works from the bottom up, the reverse is intermittent.
Help, please, to solve problems.
PS link to insert, for some reason, I can not ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay, 2017-03-22
@nickolyashka

In mozilla, in addition to svg, you need to specify via css for id or class in them a clip-path with polygon values, divide all values ​​​​by 100 and add a percent sign. Read info on clip-path. You will succeed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question