Created
          February 25, 2017 15:03 
        
      - 
      
 - 
        
Save tmslnz/bb087966001d52b169e7ec54e99ba720 to your computer and use it in GitHub Desktop.  
    Get and array of translate3d values
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function getTranslate3d (el) { | |
| var values = el.style.transform.split(/\w+\(|\);?/); | |
| if (!values[1] || !values[1].length) { | |
| return []; | |
| } | |
| return values[1].split(/,\s?/g); | |
| } | 
Thanks a lot ^^
Thanks a lot. ³
thanks a lot bruh, u saved my life . i love u <3
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Thanks a lot