If the above doesn’t work for your use case, you can set a page element to page width/height using “vw” or “vh” in CSS.

#elementId {
  width: 100vw;
  height: 100vh;
}

This is viewport width/height, and is responsive to device screen size.