Badge in the Corner
HTML / CSS
10 pts
Badge in the Corner
Put the “Hot” badge in the top-right corner of the Shiro card:
- Give
.cardposition: relative. - Give
.badgeposition: absolute,top: 8pxandright: 8px.
Checklist
- Make the card the containing block.
- Take the badge out of the flow.
- Place the badge 8px from the top and right edges.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
