I started with the left-most element but based on the stacking context, I should start with the right-most element.
I am just using the border-radius value after trial and error.
We can just repeat the same for all the elements. But we need to change the color of each of the columns and the positions of each element.
Another perfect replica. Play around with the code: