In this example, we use positioning and the transform property to vertically center a button inside a container element: