Clusters
Learn how use clusters for grouping multiple properties
Clusters groups multiple properties that shares the same trigger. That means, you don’t have to set the trigger for every property, but you define one common trigger at once. Another benefit of using clusters is options inheritance. This way, you can set one parent options that are automatically inherited for every property inside the cluster.
Cluster are defined by the brackets [ {properties} ]
. This example shows the basic usage of cluster. The s
(scale) and the r
(rotate) properties shares the same hover
trigger with the one <2s, elastic>
option definition.
Read more about the Clusters.