June 2024
Beginner to intermediate
268 pages
6h 26m
English
With the HTML in place, you can turn your attention to writing some CSS to present a workable interface. I always begin my work with Eric Meyer’s Reset CSS.[16] There’s no need to replicate that here, but you will see a minified version of it in the starter screen.css file for this app.
It’s useful to begin by defining an app’s basic typographic properties, usually on the html selector:
| | html { |
| | font-family: "Lucida Grande", Arial, sans-serif; |
| | font-size: 18px; |
| | font-weight: bold; |
| | line-height: 22px; |
| | } |
That text setting might strike you as a bit large and bulky, especially because these are also meant to be mobile-first styles. But that’s deliberate: think about your face’s ...
Read now
Unlock full access