codekraft-studio / vue-justified-layout

A component to use Flickr justified layout with Vue.
https://codekraft-studio.github.io/vue-justified-layout/
MIT License
28 stars 5 forks source link

Usage of `transform: translate(x:,y:)`? #6

Closed EternalBlack closed 4 years ago

EternalBlack commented 4 years ago

I was just wondering if there is any particular reason why position + top&left is used over transform:translate? 🤔 As far as I know transform:translate is far superior to position in terms of performance due to leveraging the GPU's render layer (especially noticeable with large amounts of data).

b4dnewz commented 4 years ago

actually this repository is only a vue adaptation of an existing plugin made by flickr, all the questions related to it's behaviour should be asked there