Loading...
By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.
Place the card in the center of the frame, both horizontally and vertically. The card size is not known ahead of time: it depends on the text Hack Frontend. A negative margin from a fixed width and height will not do. The card must not stretch to the full width of the frame. Requirements: ✓ Centered on both axes ✓ The method does not need the card width or height ✓ The card text stays Hack Frontend Acceptance criteria: ✓ The frame background is visible on all four sides of the card ✓ The card sits in the middle, not in the top-left corner ✓ A longer text does not push it against the edge