In this sample, we demonstrate how you can create an overlay using the CSS Grid. Using CSS Grid enables you to create overlapping layout without complicated pixel calculation.
In this sample, we demonstrate how you can dynamically grow the size of your image and the overlay using the CSS Grid. Since you do not need to do pixel calculation, you can easily grow and shrink the image.
In this sample, we demonstrate how you can dynamically place the overlay using the CSS Grid. Since you do not need to do pixel calculation, you can easily shift the location of the overlay.
Internet Explorer 10 Developer Guide: CSS Grid alignment
Hands On: CSS3 Grid Layout
The Grid System
Gridddle