Create animated intro content placeholders inside Framer.
- Download
maskintro.coffee
and put it in yourmodules
folder. - Add this line at the top of your document.
module = require 'maskintro'
Target maskintro()
to an object
.
module.maskintro(<object>)
Note: If the target object has
children elements
inside, the maskintro will create an animation queue ordered by each elementindex
.
You can also specify a delay
and a color
.
module.maskintro(<object>, <delay>, <color>)
module.maskintro(example, 2s, 'crimson')
- Delay: The delay must be specified in seconds. By default there is no delay —
0s
. - Color: The color can be specified in
#000
orrgb(0, 0, 0)
formats. By default the module uses thefill-color
or thetext-color
from the target layer.
I am available here on GitHub, the Framer Facebook Group, and Twitter.