October 2018
Beginner to intermediate
478 pages
10h 8m
English
CSS is the style language for HTML; together they comprise the presentation layer of web applications. The standard usage of CSS is by defining selectors in which you can specify style properties and their desired values. The following is a simple example of basic CSS:
#menu { width: 100%; background-color: ‘black'; color: ‘white';}
The preceding selector matches an element with its id attribute set to menu and sets multiple style properties to the matching elements. Obviously, there's much more to CSS selectors, including advanced usages, such as matching by class and element, as well as using pseudo-classes. CSS has a specific priority system in which the browsers know how to apply multiple styles that match the same element.
CSS has ...
Read now
Unlock full access