I am in the process of trying to recreate the layout found in Google Photos and stumbled upon this intriguing page https://github.com/xieranmaya/blog/issues/6 . I am particularly interested in the final result of the project, which can be viewed here: . Upon inspecting elements on the page, one specific line caught my attention:
<div ng-repeat="img in imgs" style="flex-grow:70.57291666666667;flex-basis:169.375px;" class="ng-scope">
<img ng-src="stock-photo-34598868.jpg" src="stock-photo-34598868.jpg">
</div>
My main question revolves around the calculation method employed to determine the values of flex-grow and flex-basis used by the developer, given that this is not explicitly covered in the tutorial. Can you shed some light on this?