Reveal a card above an overlapping footer

A GUI displays nine cards in a single vertical column inside a scrollable viewport. Each card is 64 px64\ \text{px} high. There are 12 px12\ \text{px} gaps between adjacent cards, plus 18 px18\ \text{px} of padding above the first card and below the last. There are no other margins, borders or spacing.


The viewport is 300 px300\ \text{px} high. A fixed footer overlaps its bottom 44 px44\ \text{px} and hides anything underneath. The footer does not change the viewport's layout height or add space to the scrollable content.


The scroll offset is the content yy-coordinate aligned with the viewport's top edge. Its current value is 210 px210\ \text{px}. Increasing this offset moves document content upward. The toolkit allows offsets from zero to the content height minus the full viewport height.


Calculate the total content height, the maximum permitted scroll offset, and the smallest additional downward scroll movement needed to make the seventh card fully visible above the footer. Cards are numbered from the top. Give all three answers in px as exact whole numbers. A card edge may coincide with the boundary of the unobscured region.


A rectangular viewport has a fixed footer overlapping its bottom edge and dimension marks for both heights.


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Graphical User Interfaces Questions: