The stylesheet

So, we can now give it some style. Stylesheets can take up a lot of time in tuning and getting them just right, visually. Create the static/display.css file to hold this style information. If you think my color choices are terrible, please feel free to substitute your own; search w3c colors to find suitable colors to use. Names or hex (#1ab3c5) colors can be used.

CSS styles sections start with a selector, a way to match objects in the HTML page. These can be made from tag names, class names prefixed with a full stop, or ids prefixed with a # mark. For a comprehensive look at css selectors, see the additional reading. Each section uses braces {} to delimit a section of style. The styles in that section are made of a property ...

Get Learn Robotics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.