.card { position: relative; }The card stays in flow but can later anchor an internal badge.
LESSON 49 OF 100
Turn a card into the reference block for a positioned child.
position: relative keeps the element in normal flow and makes it the reference block for absolutely positioned descendants. Without offsets, the card does not move.
.card { position: relative; }The card stays in flow but can later anchor an internal badge.
.card { position: static; }static is the initial value and does not create the requested reference block for an absolute child.
Complete the rule for .card with position: relative.
The selector identifies the element, and position: relative applies the exact requested behaviour.
ANALYSIS REQUEST
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.