Docsity

CSS Cascading Style Sheet Report ppt, Slides of Introduction to Computing

Partial preview of the text

Download CSS Cascading Style Sheet Report ppt and more Slides Introduction to Computing in PDF only on Docsity!

CSS

Cascading

Stylesheets

Topics to be Covered

⬡ CSS Introduction

⬡ CSS Where to..

⬡ CSS Syntax - Selectors

⬡ Setting Backgrounds using CSS

⬡ Setting Fonts using CSS

⬡ Manipulating Text using CSS

⬡ CSS - Images

⬡ CSS – Links

2

What is

CSS

Makes web pages

Presentab

le

A Website without CSS

Who…?

CSS is created and
maintained through a
group of people within the
W3C called the CSS
Working Group.

When…?

Initially released on

December 17,

CSS is celebrating its 20th
year of being an essential
web style language.

Where

to…

External

CSS

10

Internal

CSS

I n l i n e

C S S

External CSS

⬡ (^) Through link 11 href=“css/ style.css” href=“style.css”

Inline CSS

⬡ Through html tags

13

CSS Syntax

A CSS comprises of style
rules that are
interpreted by the
browser and then
applied to the
corresponding elements
in your document.

SYNTAX

CSS Syntax

https://www.w3schools.com/cssref/css_selectors.asp selector { property: value }

SYNTAX

CSS Syntax

https://www.w3schools.com/cssref/css_selectors.asp

selector { property: value }
SELECTORS CSS Syntax

https://www.w3schools.com/cssref/css_selectors.asp Basic selectors

Universal selector

Syntax: * ( ASTERISK) Example: * { margin: 0; padding: 0; } Sets the margin and padding of the whole html document to zero. It used because by default html has a margin and padding.

SELECTORS CSS Syntax

https://www.w3schools.com/cssref/css_selectors.asp Basic selectors

Universal selector

Syntax: * ( ASTERISK) Example: * { margin: 0; padding: 0; } Sets the margin and padding of the whole html document to zero. It used because by default html has a margin and padding.