reading-notes

Reading Notes Home

CSS Reading Notes

Duckett: HTML&CSS CH10:Introducing CSS

What is CSS?

CSS allows creators to control how a webpage will appear in accordance with the HTML wireframe. Contents within HTML become categorized within “boxes”. CSS properties and values dictate the appearance or style of HTML elements. CSS can be used with HTML externally, yet connected by an insterted >link< withing the HTML code. OR CSS styles can be included directly within HTML code using the **

There are different types of CSS selectors which allow you to direct specific rules at specific elements in HTML. For example, a rule for just one of two images within the same section of a webpage.

Declarations are made up by both element properties and the value of properties to be changed.

Duckett: HTML&CSS CH11:Color

Color and its importance

Values

Contrast

When styling a page- text, borders and backgrounds are just some of the many elements to consider have contrast from one another so that information is legible and appealing.

Opacity

This property lets creators control the level of transparency of colors and ‘child elements’

CSS3

CSS3 includes the value A, resulting in and RGBA value to include opacity. Creators can also specify the HSL with the addtion of ‘A’ for opacity as well.