method that get styles from any element
some examples with motion