--- title: Lock an Element to its Parent with Absolute Positioning ---  Remember to use **`Read-Search-Ask`** if you get stuck. Try to pair program  and write your own code  ## Lock an Element to its Parent with Absolute Positioning ##  Hint: 1 Use `position: absolute;`. > _try to solve the problem now_ ##  Hint: 2 Use the `right` and `top` properties. > _try to solve the problem now_ ## Spoiler Alert!  **Solution ahead!** ```html