I can think of five ways to potentially accomplish your goal:
-
Use negative margins on the inner element to move it outside of the parent
-
Use Javascript to move the inner element outside of the parent.
-
Change the source code and move the inner element outside of the parent.
-
Use
position: fixed
on the inner element. This will allow the inner element to break out but has the down side that the element will be fixed at the given position (never moving). -
Remove the
position: relative;
from the parent element or give the parent element aposition: static