Cascading Style Sheets (CSS) are used to define the layout of Web pages.
Now, your HTML code will be used only to define the structure of your contents while the CSS will allow you to create your styles and your layout.
CSS is a very effective new way to apply styles to HTML elements.
They allow you to set any style property such as border, character type, background color, space between letters, and so on. (We will come back later on how to do this).
There are three main ways to apply CSS styles:
- In the code body (X) HTML;
- In the header of the page;
- In a style sheet completely separate from the HTML (X) code.
Table of contents
- What is CSS?
- Styles Solved a Big Problem
- CSS Saves a Lot of Work
- CSS Syntax
- CSS Selectors
- CSS Element Selector Example
- CSS Comments
- The id and class Selectors
- The class Selector
- Three Ways to Insert CSS
- External Style Sheet
- Internal Style Sheet
- Inline Styles
- Multiple Styles Will Cascade into One
- CSS Background Properties
- Background Color
- Background Image
- Background Image - Repeat Horizontally or Vertically
- Background Image - Set position and no-repeat
- Background - Shorthand property
- CSS Border
- Text Transformation
- Text Indentation
- Grouping Selectors
- Nesting Selectors
- Static Positioning
- What is CSS Float?
- How Elements Float
- Navigation Bars
| Size : | 316.22 Kb |
| Downloads: | 1692 |
| Created: | 2016-12-26 |
Others related eBooks about Cascading Style Sheets (CSS) Notes
Download free course Transforms in CSS, pdf file on 42 pages by Eric A. Meyer.
This project-based eBook will introduce you to Cascading Style Sheets (CSS), a stylesheet ..., download free CSS tutorial in PDF (172 pages) created by Erin Glass .
Free tutorial to download about HTML, CSS, Bootstrap, Javascript and jQuery, pdf document course in 72 pages created by Meher Krishna Patel.
This book written to provide clear and concise explanation of topics for programmers both starting to learn the Cascading Style Sheets (CSS) as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it.
This document explain the CSS page composition with example code ,training courses in PDF under 27 pages designated to beginners.