N
N
nikabekish2018-06-07 17:20:26
JavaScript
nikabekish, 2018-06-07 17:20:26

How to make the text in the clip in 2 lines?

I have a width-adaptive banner made in adobe animate using canvas, so only javascript is suitable.
There is a text converted into a clip that changes to another text after some time. The text is written in one line and I need to make it so that when the screen width decreases starting from 1180, it becomes 2 lines (as in the photo)
How can this be implement?
5b193f25860ec649096013.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2018-06-07
@GreatRash

https://codepen.io/bramus/pen/eZYqoO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question