SlideShare a Scribd company logo
CSS
Created by Vladimir Zhydal
WHAT?
CSS is an acronym for Cascading Style Sheets.
CSS is a style language that defines visual styles of HTML
documents.
WHY?
Separation of presentation from markup.
Cleaner code.
Easier to manage style changes.
HISTORY
1994
CSS was first proposed by Håkon Wium Lie.
1996
CSS level 1 was published as a W3C Recommendation.
1998
CSS level 2 was published as a W3C Recommendation.
2011
CSS level 2.1 was published as a W3C
Recommendation.
CSS3
CSS 3 is divided into several separate documents called
"modules".
Each module adds functionality and/or replaces part of
the CSS2.1 specification.
CSS4
(THE GREAT RENAMING)
There is no such thing as CSS4.
SYNTAX
ANATOMY OF CSS RULE
GROUPING DECLARATIONS
p {
    color: red;
}
p {
    font­size: 12px;
}
p {
    line­height: 15px;
}
p {
    color: red;
    font­size: 12px;
    line­height: 15px;
}
GROUPING SELECTORS
h1 {
    color: red;
    font­weight: bold;
}
h2 {
    color: red;
    font­weight: bold;
}
h3 {
    color: red;
    font­weight: bold;
}
h1, h2, h3 {
    color: red;
    font­weight: bold;
}
COMMENTS
/* Comment here */​
p {​
    margin: 1em; /* Comment here */​
    padding: 2em; ​
    /* color: white; */​
    background­color: blue;​
}​​
/*multi­line​
comment here*/
APPLYING CSS
THREE WAYS TO ATTACH
Inline style
Embedded
Linked
INLINE
<h2 style="color: red;"></h2>
    
EMBEDDED
<style>
</style>
    
    h2 {
        color: red;
    }
LINKED
<link rel="stylesheet" href="example.css" type="text/css">
    
SELECTORS
SELECTORS
A CSS selector is the part of a CSS rule set that actually
selects the content.
SIMPLE SELECTORS
Pattern Meaning Level
* any element 2
E an element of type E 1
E.warning an E element whose class is "warning" 1
E#myid an E element with ID equal to "myid" 1
CLASS
can be used several times
ID
can only be used once
Use CSS classes where it’s possible, to make your styles
reusable on the page.
ATTRIBUTE SELECTORS
Pattern Meaning Level
E[foo] an E element with a "foo" attribute 2
E[foo="bar"] an E element whose "foo" attribute value is
exactly equal to "bar"
2
E[foo~="bar"] an E element whose "foo" attribute value is a list
of whitespace-separated values, one of which is
exactly equal to "bar"
2
E[foo|="en"] an E element whose "foo" attribute has a hyphen-
separated list of values beginning (from the left)
with "en"
2
ATTRIBUTE SELECTORS
Pattern Meaning Level
E[foo^="bar"] an E element whose "foo" attribute value begins
exactly with the string "bar"
3
E[foo$="bar"] an E element whose "foo" attribute value ends
exactly with the string "bar"
3
E[foo*="bar"] an E element whose "foo" attribute value contains
the substring "bar"
3
PSEUDO CLASSES
Pattern Meaning Level
E:link
E:visited
an E element being the source anchor of a hyperlink of
which the target is not yet visited (:link) or already
visited (:visited)
1
E:active
E:hover
E:focus
an E element during certain user actions 1
and
2
E:target an E element being the target of the referring URI 3
PSEUDO CLASSES
Pattern Meaning Level
E:lang(fr) an element of type E in language "fr" (the document
language specifies how language is determined)
2
E:enabled
E:disabled
a user interface element E which is enabled or
disabled
3
E:checked a user interface element E which is checked (for
instance a radio-button or checkbox)
3
E:not(s) an E element that does not match simple selector s 3
PSEUDO CLASSES
(STRUCTURAL)
Pattern Meaning Level
E:root an E element, root of the document 3
E:nth-
child(n)
an E element, the n-th child of its parent 3
E:nth-last-
child(n)
an E element, the n-th child of its parent, counting
from the last one
3
E:nth-of-
type(n)
an E element, the n-th sibling of its type 3
PSEUDO CLASSES
(STRUCTURAL)
Pattern Meaning Level
E:nth-last-of-
type(n)
an E element, the n-th sibling of its type, counting
from the last one
3
E:first-child an E element, first child of its parent 2
E:last-child an E element, last child of its parent 3
E:first-of-type an E element, first sibling of its type 3
PSEUDO CLASSES
(STRUCTURAL)
Pattern Meaning Level
E:last-of-
type
an E element, last sibling of its type 3
E:only-child an E element, only child of its parent 3
E:only-of-
type
an E element, only sibling of its type 3
E:empty an E element that has no children (including text
nodes)
3
PSEUDO ELEMENTS
Pattern Meaning Level
E::first-line the first formatted line of an E element 1
E::first-letter the first formatted letter of an E element 1
E::before generated content before an E element 2
E::after generated content after an E element 2
COMBINATORS
Pattern Meaning Level
E F an F element descendant of an E element 1
E > F an F element child of an E element 2
E + F an F element immediately preceded by an E element 2
E ~ F an F element preceded by an E element 3
THE KEY SELECTOR
The key selector is the right-most part of a larger CSS
selector. This is what the user agent looks for first.
SELECTOR MATCHING
VALUE PROCESSING
VALUE PROCESSING
A user agent must assign a value to every property that
applies to the target media type to every box in the
formatting structure.
CALCULATION
Collecting all the declared values applied to an element.
Cascading yields the cascaded value.
Defaulting yields the specified value.
Resolving value dependencies yields the computed value.
Formatting the document yields the used value.
Transforming to the actual value based on constraints of
the display environment.
CALCULATION EXAMPLES
Property Winning
declaration
Cascaded
value
Specified value Computed
value
Used
value
Actual
value
font-size font-size:
1.2em
1.2em 1.2em 14.1px 14.1px 14px
width width: 80% 80% 80% 80% 354.2px 354px
width width: auto auto auto auto 134px 134px
height height: auto auto auto auto 176px 176px
page-break-
after
(none) (none) auto (initial value) auto auto auto
FILTERING
FILTERING
In order to find the declared values, user agents must first
identify all declarations that apply to each element.
FILTERING
A declaration applies to an element if:
It belongs to a style sheet that currently applies to this
document.
It is not qualified by a conditional rule with a false
condition.
It belongs to a style rule whose selector matches the
element.
It is syntactically valid: the declaration’s property is a
known property name, and the declaration’s value
matches the syntax for that property.
CASCADING
CASCADING
The cascade takes a unordered list of declared values for a
given property on a given element, sorts them by their
declaration’s precedence, and outputs a single cascaded
value.
CASCADING ORIGINS
Author
User
User agent
USER AGENT STYLE SHEET
User agent applies style sheets to all web documents. These
are referred to as a “default” user agent style sheet.
USER STYLE SHEETS
Most user agents allow user to apply their own style sheets
within the user agent.
AUTHOR STYLES SHEETS
Web authors can apply one or more style sheets to an HTML
document.
CASCADING ORDER
WHICH CSS RULES “WIN”?
There are four steps to determine which CSS rules will
“win”.
STEP 1
Gather all the declarations that apply to an element and
property from browser, author and user style sheets.
STEP 2
Sort the gathered declarations according to:
origin
user agent
author
user
importance
normal
!important
FROM LOWEST TO HIGHEST
PRIORITY
Normal declarations in user agent style sheet.
Normal declarations in user style sheet.
Normal declarations in author style sheet.
!important declarations in author style sheet.
!important declaration in user style sheet.
!important declaration in user agent style sheet.
STEP 3
If declarations have the same origin or importance then the
declaration’s selectors need to be scored, to see which
declaration will “win”.
SELECTORS SPECIFICITY
1. Inline style.
2. Count the number of IDs.
3. Count the number of
classes, attributes and
pseudo-classes.
4. Count the number of
element names or pseudo-
elements.
A NOTE ON CONCATENATION
“A” will always beat “B”, which will always beat “C”, which
will always beat “D”.
STEP 4
If two declarations have the same importance, origin and
specify, the later specified declaration wins.
DEFAULTING
DEFAULTING
When the cascade does not result in a value, the specified
value must be found some other way: 
Inherited properties draw their defaults from their
parent element through inheritance.
Other properties take their initial value.
INHERITANCE
Inheritance propagates property values from parent
elements to their children.
EXPLICIT DEFAULTING
Resetting a Property: the initial keyword.
Explicit Inheritance: the inherit keyword.
Erasing All Declarations: the unset keyword.
BOX MODEL
BOX MODEL
The CSS box model describes the rectangular boxes that are
generated for elements in the document tree and laid out
according to the visual formatting model.
BOX DIMENSIONS
BOX EDGES
content edge or inner edge
padding edge
border edge
margin edge or outer edge
BOX-SIZING
content-box
padding-box
border-box
COLLAPSING MARGINS
In CSS, the adjoining margins of two or more boxes can
combine to form a single margin.
Margins that combine this way are said to collapse, and
the resulting combined margin is called a collapsed
margin.
VERTICAL MARGINS COLLAPSE
(BASIC CASES)
Adjacent siblings.
Parent and first/last child.
Empty blocks.
HORIZONTAL MARGINS COLLAPSE
Do not collapse in most cases...
COLLAPSING RESTRICTIONS
Only margins of block-level boxes can collapse.
Margins of a floated box do not collapse with any other
margins.
Margins of a box with ‘overflow’ other than ‘visible’ do not
collapse with its children's margins.
Margins of an absolutely positioned box do not collapse
with any other margins.
Margins of the root element's box do not collapse.
VISUAL FORMATTING
MODEL
VISUAL FORMATTING MODEL
The CSS visual formatting model is the algorithm used to
process a document and display it on a visual media. 
DEFINING BOXES
box dimensions
box type
the positioning scheme
the other elements in the tree
the viewport size and position
intrinsic dimensions of contained images
other external information
BOX GENERATION
The part of the CSS visual formatting model.
Creates boxes from the document's elements.
BOX TYPES
Affect how the visual formatting is done.
Depend of the value of the display CSS property.
BLOCK-LEVEL ELEMENTS AND
BLOCK BOXES
Visually formatted as a block.
Intended to be vertically stacked.
display: block, list-item, table.
BLOCK-LEVEL ELEMENTS
Participates in a block formatting context.
Generates at least one block-level box (principal block-
level box).
BLOCK CONTAINER BOX
Is a box that contains only other block-level boxes, or
creates an inline formatting context.
A block-level box may also be a block container box.
BLOCK-LEVEL BOX
how the box will behave with
its parents and sibling
BLOCK CONTAINER
how the box will interact with
its descendants
BLOCK BOXES
Block-level boxes that also are block container boxes are
called block boxes.
ANONYMOUS BLOCK BOXES
Supplementary boxes.
Cannot be styled using CSS selectors.
Use the inherit value or the initial value of css properties.
ANONYMOUS BLOCK BOXES
<div>Some inline text <p>followed by a paragraph</p> followed by more inline text.</div
INLINE-LEVEL ELEMENTS AND
INLINE BOXES
Distributed in lines with other inline-level content.
display: inline, inline-block, inline-table.
INLINE-LEVEL ELEMENTS
Generate inline-level boxes.
INLINE BOXES
Inline boxes are both inline-level boxes and boxes that
participate in their container's inline formatting context.
INLINE BOXES
DIMENSIONS CALCULATION
width
doesn't apply.
height
doesn't apply, but the height of the box is given by the
‘line-height’ property.
padding
only left and right padding will have an effect.
margin
only left and right margin will have an effect.
ATOMIC INLINE-LEVEL BOXES
Inline-level boxes that do not participate in an inline
formatting context.
Are never split in several boxes.
Generated by: replaced inline-level elements, by
elements with a calculated display value (inline-
block or inline-table).
ATOMIC INLINE-LEVEL BOXES
The text in the span can be
split in several lines as it is an
inline box.
The text in the span
cannot be split in several lines
as it
is an inline-block box.
<style>
    span {
        display: inline; /* default value*/
        color: green;
    }
</style>
<div>
    The text in the span <span>can be split
    in several lines as it</span> is an inline box.
</div>
<style>
    span {
        display: inline­block;
        color: green;
    }
</style>
<div>
    The text in the span <span>cannot be split
    in several lines as it</span> is an inline­block box.
</div>
ANONYMOUS INLINE BOXES
Any text that is directly contained inside a block container
element (not inside an inline element).
Use the inherit value or the initial value of css properties.
ANONYMOUS INLINE BOXES
<p>Some <em>emphasized</em> text</p>
OTHER TYPES OF BOXES
Line boxes.
Run-in boxes.
Model-induced boxes.
POSITIONING SCHEMES
Normal flow.
Floats.
Absolute positioning.
NORMAL FLOW
Boxes are laid out one after the other
(vertically or horizontally).
NORMAL FLOW
position
static
relative
float
none
NORMAL FLOW
STATIC POSITIONING
The boxes are drawn at the
exact position defined by the
normal flow layout.
RELATIVE POSITIONING
The boxes are drawn with an
offset defined by
the top, bottom, left and right CSS
properties.
FLOATS
Floating boxes are positioned at the beginning or end of
the current line.
Anything within the normal flow flows along the edge of
the floating boxes.
FLOATS
position
static
relative
float
left
right
THE CLEAR CSS PROPERTY
Specifies whether an element can be next
to floating elements that precede it or must be moved
down (cleared) below them.
Applies to both floating and non-floating elements.
BLOCK FORMATTING CONTEXT
The region in which:
the layout of block boxes occurs;
floats interact with each other.
BLOCK FORMATTING CONTEXT
Created by:
the root element;
floats;
absolutely positioned elements;
inline-blocks;
table cells and table captions;
elements where overflow has a value other
than visible;
flex boxes.
ABSOLUTE POSITIONING
Boxes are entirely removed from the flow.
Boxes don't interact with the flow at all.
Boxes positioned relative to their containing block.
CONTAINING BLOCK
Element boxes are positioned within a formatting context,
which, by default, is provided by the box generated by a
parent element.
CONTAINING BLOCK
POSITION: STATIC OR RELATIVE
The containing block is formed by the edge of the content
box of the nearest ancestor element
whose display property value is one of:
block
inline-block
list-item
run-in
table
table-cell
CONTAINING BLOCK
POSITION: ABSOLUTE
The containing block is the nearest positioned ancestor
(the nearest ancestor whose position property has one of
the values absolute, fixed, or relative).
The containing block is formed by the padding edge of
that ancestor.
CONTAINING BLOCK
POSITION: FIXED
The containing block is the viewport (for continuous
media) or the page box (for paged media).
THE STACKING CONTEXT
Boxes are positioned in three dimensions.
The third dimension is the z axis, which is perpendicular
to the screen.
'Z-INDEX' PROPERTY
For a positioned box, the 'z-index' property specifies:
The stack level of the box in the current stacking
context.
Whether the box establishes a local stacking context.
FORMING OF A STACKING CONTEXT
The root element (HTML).
Positioned (absolutely or relatively) with a z-index value
other than "auto".
A flex item with a z-index value other than "auto".
Elements with an opacity value less than 1.
Elements with a transform value other than "none".
Elements with a mix-blend-mode value other than
"normal".
Elements with a filter value other than "none".
Elements with isolation set to "isolate".
STACKING CONTEXT LAYERS
The background and borders of the element that
establishes the stacking context.
The stacking contexts of descendants with negative stack
levels.
Block-level descendants in the normal flow.
Floated descendants and their contents.
Inline-level descendants in the normal flow.
Positioned descendants whose z-index is auto or 0.
The stacking contexts of descendants with positive stack
levels.
STACKING CONTEXT
(SUMMARY)
Positioning and a z-index value creates a stacking
context.
Stacking contexts are hierarchical.
Each stacking context is completely independent from its
siblings.
THE GOLDEN RULE OF Z-INDEX
“If you are using 3 digits z-index values, you are doing it
wrong.”
CSS AT-RULES
CSS AT-RULES
At-rules are instructions or directives to the CSS parser.
CSS AT-RULES
@charset
@import
@media
@page
@font-face
@CHARSET
The @charset CSS at-rule specifies the character
encoding used in the style sheet.
This at-rule is useful when using non-ASCII characters in
some CSS properties, like content.
@charset "UTF­8";
@charset 'iso­8859­15';
@CHARSET
Several ways to define the character encoding of a style
sheet:
The value of the Unicode byte-order character.
The value given by the charset attribute of the
Content-Type: HTTP header.
The @charset CSS at-rule.
The charset attribute of the <link> element. (obsoleted)
The value of the <meta charset> in the document.
@IMPORT
Allows to import style rules from other style sheets.
@import 'custom.css';
@import url('landscape.css') screen and (orientation:landscape);
@MEDIA
Associates a set of nested statements, in a CSS block that
is delimited by curly braces, with a condition defined by a
media query.
@media <media­query> {
   /* media­specific rules */
}
@PAGE
Is used to modify some CSS properties when printing a
document.
@page :first {
    margin: 1cm;
}
@page :left {
    margin: 1cm 3cm 1cm 1.5cm;
}
@page :right {
    margin: 1cm 3cm 1cm 1.5cm;
}
@FONT-FACE
Allows authors to specify online fonts to display text on
their web pages.
@font­face {
    font­family: "Bitstream Vera Serif Bold";
    src: url("https://mdn.mozillademos.org/files/2468/VeraSeBd.ttf"
}
CSS PROPERTIES
CSS PROPERTIES
Box Properties
Layout Properties​
List Properties
Table Properties
Color and Backgrounds​
Typographical Properties​
Generated Content​
User Interface Properties​
Paged Media Properties
BOX PROPERTIES
width (min/max), height (min/max), margin, padding,
border, outline
LAYOUT PROPERTIES
display, position, float, clear, visibility, top, right, bottom,
left, z-index, overflow, clip
LIST PROPERTIES
list-style-type, list-style-position, list-style-image
TABLE PROPERTIES
table-layout, border-collapse, border-spacing, empty-cells,
caption-side
COLOR AND BACKGROUND
PROPERTIES
color, background-color, background-image, background-
repeat, background-position, background-attachment
TYPOGRAPHICAL PROPERTIES
font-family, font-size, font-weight, font-style, font-variant,
letter-spacing, word-spacing, line-height, text-align, text-
decoration, text-indent, text-transform, text-shadow,
vertical-align, white-space, direction
GENERATED CONTENT PROPERTIES
content, counter-increment, counter-reset, quotes
USER INTERFACE PROPERTIES
cursor
FONT
font: [font­style||font­variant||font­weight] font­size [/line­height] font­family | inherit
FONT
<style>
</style>
<p class="font">Font</p>
    .font {
        font: italic small­caps bold 50px/140% Helvetica, sans­serif;
    }
BACKGROUND
CSS 2.1
background-color
background-image
background-repeat
background-attachment
background-position
CSS 3
extends existing properties
adds new properties:
background-origin
background-clip
background-size
multiple-backgrounds
BACKGROUND
<style>
</style>
<div class="background"></div>
    .background {
        width: 500px;
        height: 250px;
        background­image: url('images/workshop/sheep.png'
        url('images/workshop/betweengrassandsky.png');
        background­position: center bottom, left top;
        background­repeat: no­repeat;
    }
GRADIENT
Displays smooth transitions between two or more specified
colors.
TRANSITION
Allows you to change property values smoothly over a given
duration.
ANIMATION
Allows animation of most HTML elements without using
JavaScript or Flash
TRANSFORM
translate
scale
rotate
skew
perspective
matrix
BOX-SHADOW
box­shadow: none|h­shadow v­shadow blur spread color |inset|initial|inherit;
TEXT-SHADOW
.neon {
    text­shadow:
        0 0 10px #fff, 0 0 20px #fff,
        0 0 30px #fff, 0 0 40px #ff00de,
        0 0 70px #ff00de, 0 0 80px #ff00de,
        0 0 100px #ff00de, 0 0 150px #ff00de;
}
.fire {
    text­shadow:
        0 0 20px #fefcc9, 10px ­10px 30px #feec85,
        ­20px ­20px 40px #ffae34, 20px ­40px 50px #ec760c,
        ­20px ­60px 60px #cd4606, 0 ­80px 70px #973716,
        10px ­90px 80px #451b0e;
}
BORDER-RADIUS
border-radius: 50px 0 0 50px;
border-radius: 40px 10px;
border-radius: 13em/3em;
border-radius: 13em 0.5em/1em 0.5em;
border-radius: 8px;
TEXT-OVERFLOW
One line text that should be…<style>
</style>
<p class="ellipsis">One line text
    that should be cut</p>
                
    .ellipses {
        overflow: hidden;
        white­space: nowrap;
        text­overflow: ellipsis;
    }
COLUMNS
<style>
    .columns {
        column­count: 3;
        column­gap: 40px;
    }
</style>
<p class="columns">Some long text
    here...</p>
VENDOR-SPECIFIC PROPERTIES
'-' + vendor specific identifier + '-' + meaningful name
Prefix Organisation
-ms- Microsoft
-moz- Mozilla Foundation
(Gecko-based browsers)
-o- Opera Software
-webkit- Safari (and other WebKit-
based browsers)
div {
    ­webkit­border­radius: 3px;
    ­moz­border­radius: 3px;
    border­radius: 3px;
}
SHORTHAND PROPERTIES
CSS properties that let you set the values of several other
CSS properties simultaneously.
SHORTHAND PROPERTIES
(EDGE CASES)
A value which is not specified is set to its initial value. (it
overrides previously set values).
div {
    background­color: red;
    background: url(images/bg.gif) no­repeat top right;
}
SHORTHAND PROPERTIES
(EDGE CASES)
Only the individual properties values can inherit.
The keyword inherit can be applied to a property, but only
as a whole, not as a keyword for one value or another.
.parent {
  background: red;
}
.child {
  background: inherit;
}
SHORTHAND PROPERTIES
(EDGE CASES)
Shorthand properties try not to force a specific order for the
values of the properties they replace.
font: [font­style||font­variant||font­weight] font­size [/line­height] font­family | inherit
div {
  font: italic bold 12pt/10pt serif
}
SHORTHAND PROPERTIES
(PROPERTIES RELATED TO EDGES OF A BOX)
div {
  padding: 10px;
}
div {
  padding: 10px 20px;
}
div {
  padding: 10px 20px 30px;
}
div {
  padding: 10px 20px 30px 40px;
}
SHORTHAND PROPERTIES
(PROPERTIES RELATED TO CORNERS OF A BOX)
div {
  border­radius: 10px;
}
div {
  border­radius: 10px 20px;
}
div {
  border­radius: 10px 20px 30px;
}
div {
  border­radius: 10px 20px 30px 40px
}
CSS UNITS
UNITS
Unit Description
% percentage
em 1em is equal to the current font size. 2em means 2 times the size of
the current font.
ex one ex is the x-height of a font (x-height is usually about half the
font-size)
px pixels (a dot on the computer screen)
UNITS
Unit Description
pt point (1 pt is the same as 1/72 inch)
pc pica (1 pc is the same as 12 points)
in inch
cm centimeter
mm millimeter
UNITS RECOMMENDATIONS
  Rec​om​mended Oc​ca​sional use Not rec​om​mended
Screen em, px, % ex pt, cm, mm, in, pc
Print em, cm, mm, in, pt, pc, % px, ex
MORE UNITS IN CSS
Unit Description
rem is the font size of the root element of the
document
vw 1/100th of the window's width
vh 1/100th of the window's height
RESOURCES
http://www.w3.org/TR/CSS2/
http://www.w3.org/Style/CSS/current-work
https://developer.mozilla.org/en-
US/docs/Web/Guide/CSS
https://css-tricks.com/almanac/
http://reference.sitepoint.com/css

More Related Content

What's hot

Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
Santhiya Grace
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
Css Basics
Css BasicsCss Basics
Css Basics
Jay Patel
 
Bootstrap PPT by Mukesh
Bootstrap PPT by MukeshBootstrap PPT by Mukesh
Bootstrap PPT by Mukesh
Mukesh Kumar
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
CSS
CSSCSS
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
cascading style sheet ppt
cascading style sheet pptcascading style sheet ppt
cascading style sheet ppt
abhilashagupta
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Learning Html
Learning HtmlLearning Html
Learning Html
Damian Gonz
 
CSS Grid
CSS GridCSS Grid
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
 

What's hot (20)

Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Basic-CSS-tutorial
Basic-CSS-tutorialBasic-CSS-tutorial
Basic-CSS-tutorial
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Bootstrap PPT by Mukesh
Bootstrap PPT by MukeshBootstrap PPT by Mukesh
Bootstrap PPT by Mukesh
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Html
HtmlHtml
Html
 
CSS
CSSCSS
CSS
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
 
CSS
CSSCSS
CSS
 
cascading style sheet ppt
cascading style sheet pptcascading style sheet ppt
cascading style sheet ppt
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
CSS Grid
CSS GridCSS Grid
CSS Grid
 
Html basics
Html basicsHtml basics
Html basics
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 

Viewers also liked

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
Vladimir Zhidal
 
Css advanced – session 4
Css advanced – session 4Css advanced – session 4
Css advanced – session 4
Dr. Ramkumar Lakshminarayanan
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsPaul Dionysius
 
Html Css
Html CssHtml Css
Html Csspumas26
 
Cashcading stylesheets
Cashcading stylesheetsCashcading stylesheets
Cashcading stylesheets
reddivarihareesh
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Shehzad Yaqoob
 
Cascading style sheets (css)
Cascading style sheets (css)Cascading style sheets (css)
Cascading style sheets (css)veasnarin
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
Cascading Style Sheets By Mukesh
Cascading Style Sheets By MukeshCascading Style Sheets By Mukesh
Cascading Style Sheets By Mukesh
Mukesh Kumar
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsMarc Steel
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
Tushar Joshi
 
Cascading style sheets - CSS
Cascading style sheets - CSSCascading style sheets - CSS
Cascading style sheets - CSS
iFour Institute - Sustainable Learning
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)
Reshmi Rajan
 
CSS Selectors
CSS SelectorsCSS Selectors
CSS Selectors
Rachel Andrew
 
CSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionCSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - Introduction
Mukesh Tekwani
 
CSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box ModelCSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box Modeljamiecavanaugh
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
Sun Technlogies
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 

Viewers also liked (19)

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Css advanced – session 4
Css advanced – session 4Css advanced – session 4
Css advanced – session 4
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Html Css
Html CssHtml Css
Html Css
 
Cashcading stylesheets
Cashcading stylesheetsCashcading stylesheets
Cashcading stylesheets
 
Css
CssCss
Css
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Cascading style sheets (css)
Cascading style sheets (css)Cascading style sheets (css)
Cascading style sheets (css)
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
 
Cascading Style Sheets By Mukesh
Cascading Style Sheets By MukeshCascading Style Sheets By Mukesh
Cascading Style Sheets By Mukesh
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
 
Cascading style sheets - CSS
Cascading style sheets - CSSCascading style sheets - CSS
Cascading style sheets - CSS
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)
 
CSS Selectors
CSS SelectorsCSS Selectors
CSS Selectors
 
CSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionCSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - Introduction
 
CSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box ModelCSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box Model
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Similar to CSS

Web 2 | CSS - Cascading Style Sheets
Web 2 | CSS - Cascading Style SheetsWeb 2 | CSS - Cascading Style Sheets
Web 2 | CSS - Cascading Style Sheets
Mohammad Imam Hossain
 
Csstutorial
CsstutorialCsstutorial
Csstutorial
Ankit Rana
 
Cascading Style Sheet | CSS
Cascading Style Sheet | CSSCascading Style Sheet | CSS
Cascading Style Sheet | CSS
MSA Technosoft
 
Css1
Css1Css1
Css1
teach4uin
 
CSS Foundations, pt 1
CSS Foundations, pt 1CSS Foundations, pt 1
CSS Foundations, pt 1
Shawn Calvert
 
3 css essentials
3 css essentials3 css essentials
3 css essentials
Anchu S
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS MethodologyZohar Arad
 
3-CSS_essentials.ppt
3-CSS_essentials.ppt3-CSS_essentials.ppt
3-CSS_essentials.ppt
datapro2
 
3-CSS_essentials introduction slides.ppt
3-CSS_essentials introduction slides.ppt3-CSS_essentials introduction slides.ppt
3-CSS_essentials introduction slides.ppt
Aasma13
 
3-CSS_essentials_developers_begineers.ppt
3-CSS_essentials_developers_begineers.ppt3-CSS_essentials_developers_begineers.ppt
3-CSS_essentials_developers_begineers.ppt
mohamed abd elrazek
 
3-CSS_essentials.ppt
3-CSS_essentials.ppt3-CSS_essentials.ppt
3-CSS_essentials.ppt
scet315
 
Automated Analysis of CSS Rules to Support Style Maintenance
Automated Analysis of CSS Rules to Support Style MaintenanceAutomated Analysis of CSS Rules to Support Style Maintenance
Automated Analysis of CSS Rules to Support Style Maintenance
Abhishek Rakshe
 
Rational HATS and CSS
Rational HATS and CSSRational HATS and CSS
Rational HATS and CSS
Strongback Consulting
 

Similar to CSS (20)

Web 2 | CSS - Cascading Style Sheets
Web 2 | CSS - Cascading Style SheetsWeb 2 | CSS - Cascading Style Sheets
Web 2 | CSS - Cascading Style Sheets
 
Csstutorial
CsstutorialCsstutorial
Csstutorial
 
Unit 2.1
Unit 2.1Unit 2.1
Unit 2.1
 
presentation
presentationpresentation
presentation
 
Unit 2.1
Unit 2.1Unit 2.1
Unit 2.1
 
Cascading Style Sheet | CSS
Cascading Style Sheet | CSSCascading Style Sheet | CSS
Cascading Style Sheet | CSS
 
Css1
Css1Css1
Css1
 
CSS Foundations, pt 1
CSS Foundations, pt 1CSS Foundations, pt 1
CSS Foundations, pt 1
 
Css - Tutorial
Css - TutorialCss - Tutorial
Css - Tutorial
 
Css tutorial
Css tutorialCss tutorial
Css tutorial
 
3 css essentials
3 css essentials3 css essentials
3 css essentials
 
CSS
CSSCSS
CSS
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS Methodology
 
3-CSS_essentials.ppt
3-CSS_essentials.ppt3-CSS_essentials.ppt
3-CSS_essentials.ppt
 
3-CSS_essentials introduction slides.ppt
3-CSS_essentials introduction slides.ppt3-CSS_essentials introduction slides.ppt
3-CSS_essentials introduction slides.ppt
 
3-CSS_essentials_developers_begineers.ppt
3-CSS_essentials_developers_begineers.ppt3-CSS_essentials_developers_begineers.ppt
3-CSS_essentials_developers_begineers.ppt
 
3-CSS_essentials.ppt
3-CSS_essentials.ppt3-CSS_essentials.ppt
3-CSS_essentials.ppt
 
Web Typography
Web TypographyWeb Typography
Web Typography
 
Automated Analysis of CSS Rules to Support Style Maintenance
Automated Analysis of CSS Rules to Support Style MaintenanceAutomated Analysis of CSS Rules to Support Style Maintenance
Automated Analysis of CSS Rules to Support Style Maintenance
 
Rational HATS and CSS
Rational HATS and CSSRational HATS and CSS
Rational HATS and CSS
 

Recently uploaded

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 

CSS