Positioning elements using CSS transform without JavaScript
Eons ago, it used to be that, positioning of elements in the center/corner of a div required JavaScript code, to calculate the offset based on the width/height of the element itself as well as its parent. Things are much easier now with CSS transform. A simple demo is shown below, with 9 squares positioned at …
Continue reading “Positioning elements using CSS transform without JavaScript”