HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>Let’s work on the selected state of our label::before or “pseudo-checkbox”.</p>
1 <p>Let’s work on the selected state of our label::before or “pseudo-checkbox”.</p>
2 <p>Transform the pseudo-checkbox when it is selected into a checkmark, which is a flattened turquoise block without a border along the top and right edges.</p>
2 <p>Transform the pseudo-checkbox when it is selected into a checkmark, which is a flattened turquoise block without a border along the top and right edges.</p>
3 <p>To manage the selected state of the pseudo-box, let’s create a CSS rule with the following selector:</p>
3 <p>To manage the selected state of the pseudo-box, let’s create a CSS rule with the following selector:</p>
4 input[type="checkbox"]:checked ~ label::before { ... }
4 input[type="checkbox"]:checked ~ label::before { ... }