C
C
Conan the Barbarian2017-08-28 13:54:43
Layout
Conan the Barbarian, 2017-08-28 13:54:43

How to make a water fill effect in SVG?

Expensive time of day.
I have text in SVG . Please tell me how can I make the text fill with water effect on hover? Not from bottom to top, but from left to right.
THIS example does not work :(

Or at least it just filled from left to right, without the water effect.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
ventormo, 2019-05-05
@ventormo

Either you don't have an img task and you are trying to call it for some reason, or (more likely) you are trying to call it before you declare it. And you must first declare the img task, and only then pull it.
UPD, I'm sorry, I mistyped it originally. Of course, the error can be if you try to call the task BEFORE the declaration, and not after.

A
Alexander Ivanov, 2017-08-28
@cimonlebedev


If you don't need to output the text from the backend to SVG then convert it to curves and "THIS example doesn't work :(" - it will work too.

G
global Error, 2017-08-28
@Mowsar

Tags: animation, svg
Header: Water Waves Animation
Learn more:
https://codepen.io/evatoth/pen/xwZoNa

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question