HTML and CSS Reference
In-Depth Information
Figure 7-20. The vote count displayed on the left of the questions
Finally, you need to make the font match the design, so add a selector for the pseudo-element to the font rule
already applied to h1 and h2 in the “Basic Font Styles” section of main.css :
h1,h2,#questions li:before {
font-family: 'Cooper Black W01';
font-weight: normal;
Now the font looks correct if you reload (see Figure 7-21 ).
Search WWH ::

Custom Search