SlideShare a Scribd company logo
1 of 29
Download to read offline
Beginner’s essential
CSS Cheat Sheet
What makes a website unique is it’s styling.
A must have skill for every web developer.
#################
TABLE OF CONTENTS
Backgrounds 4
Border 5
Box Model 7
Font 9
Text 10
Column 11
Colors 12
Grid Positioning 12
Template Layout 12
Table 13
Speech 13
List & Markers 15
Animations 16
Transitions 16
UI 17
Pseudo-class 18
Pseudo-element 19
Absolute Measurement 19
Relative Measurement 19
Angles 20
Time 20
Frequency 20
Colors 20
of2 29
Selector Types 21
Outline 22
3D / 2D Transform 22
Generated Content 23
Line Box 25
Hyperlink 27
Positioning 27
Ruby 28
Paged Media 28
of3 29
BACKGROUNDS
background
background-image
background-position
background-size
background-repeat
background-attachment
background-origin
background-clip
background-color
background-image
url
none
background-position
top left | top center | top
right | center left | center
center | center right | bottom
left | bottom center | bottom
right
x-% y-%
x-pos y-pos
background-size
length
%
auto | cover | contain
background-repeat
repeat | repeat-x | repeat-y |
no-repeat
background-attachment
scroll | fixed
background-origin
border-box | padding-box |
content-box
background-clip
length
%
border-box | padding-box |
content-box | no-clip
background-color
color
transparent

of4 29
BORDER
border
border-width
border-style
border-color
border-width
thin | medium | thick | length
border-style
none | hidden | dotted |
dashed | solid | double |
groove | ridge | inset | outset
border-color
color
border-bottom
border-bottom-width
border-style
border-color
border-left
border-left-width
border-style
border-color
border-left-style
border-style
border-right-color
border-color
border-right-width
thin | medium | thick | length
border-top-width
thin | medium | thick | length
border-break
border-width
border-style
color
close
border-bottom-color
border-color
border-bottom-style
border-style
border-left-color
border-color
border-left-width
thin | medium | thick length
border-right-style
border-style
of5 29
border-top
border-top-width
border-style
border-color
border-top-color
border-color
border-top-style
border-style
box-shadow
inset || [ length, length,
length, length || <color> ]
none
border-collapse
collapse | separate
border-image
image
[ number / %
border-width
stretch | repeat | round ]
none
border-right
border-right-width
border-style
border-color
border-radius
border-radius
border-top-right-radius
border-bottom-right-radius
border-bottom-left-radius
border-top-left-radius
border-top-right-radius
length
border-bottom-right-radius
length
border-bottom-left-radius
length
of6 29
BOX MODEL
float
left | right | none
height
auto
length
%
max-height
none
length
%
max-width
none
length
%
min-height
none
length
%
width
auto
%
length
margin
margin-top
margin-right
margin-bottom
margin-left
margin-bottom
auto
length
%
margin-left
auto
height
%
margin-right
auto
height
%
margin-top
auto
length
%
of7 29
padding
padding-top
padding-right
padding-bottom
padding-left
padding-bottom
length
%
padding-left
length
%
padding-right
length
%
padding-top
length
%
display
none | inline | block | inline-
block | list-item |run-in |
compact | table | inline-table |
table-row-group | table-header-
group | table-footer-group |
table-row | table-column-group |
table-column | table-cell |
table-caption | ruby | ruby-base
| ruby-text | ruby-base-group |
ruby-text-group
marquee-direction
forward | reverse
marquee-loop
infinite
integer
marquee-play-count
infinite
integer
marquee-speed
slow | normal | fast
marquee-style
scroll | slide | alternate
overflow
visible | hidden | scroll |
auto | no-display | no-content
overflow-x
overflow-y
overflow-style
auto | marquee-line | marquee-
block
overflow-x
visible | hidden | scroll |
auto | no-display | no-content
of8 29
rotation
angle
rotation-point
position (paired value off-set)
visibility
visible | hidden | collapse
clear
left | right | both | none
FONT
font
font-style
font-variant
font-weight
font-size/line-height
font-family
caption | icon | menu | message-
box | small-caption | status-bar
font-size-adjust
none | inherit
number
font-family
normal | wider | narrower |
ultra-condensed | extra-
condensed | condensed | semi-
condensed | semi-expanded |
ultra-expanded | inherit
font-style
normal | italic | oblique |
inherit
font-variant
normal | small-caps | inherit
font-size
xx-small | x-small | small |
medium | large | x-large | xx-
large | smaller | larger |
inherit
length
%
font-weight
normal | bold | bolder | lighter
| 100 | 200 | 300 | 400 | 500 |
600 | 700 | 800 | 900 | inherit
of9 29
TEXT

direction
ltr | rtl | inherit
hanging-punctuation
none | [ start | end | end-
edge ]
letter spacing
normal
length
%
text-outline
none
color
length
unicode-bidi
normal | embed | bidi-override
white-space
normal | pre | nowrap | pre-wrap
| pre-line
white-space-collapse
perserve | collapse | pre-serve-
breaks | discard
punctuation-trim
none | [ start | end |
adjacent ]
text-align
start | end | left | right |
center | justify
text-align-last
start | end | left | right |
center | justify
text-decoration
none | underline | overline |
line-thorugh | blink
text-shadow
none
color
length
word-break
normal | keep-all | loose |
break-strict | break-all
word-wrap
normal
length
%
of10 29
text-emphasis
none | [ [ accent | dot | circle
| disc | [ before | after ]?]
text-indent
length
%
text-justify
auto | inter-word | inter-
ideograph | inter-cluster |
distribute | kashida | tibetan
text-transform
none | capitalize | uppercase |
lowercase
text-wrap
normal | unresrricted | none |
suppress
word-spacing
normal
length
%
COLUMN
column-count
auto
number
column-fill
auto | balance
column-gap
normal
length
column-rule
column-rule-width
column-rule-style
column-rule-color
column-rule-style
border-style
columns
column-width
column-count
of11 29
column-rule-width
thin | medium | thick
length
column-span
1 | all
column-width
auto
length
COLORS
color
inherit
color
opacity
inherit
number
GRID POSITIONING
grid-columns
none | inherit
[ length percentage relative
length ]
grid-rows
none | inherit
[ length percentage relative
length ]

TEMPLATE LAYOUT
box-align
start | end | center | base
box-direction
normal | reverse
box-flex
normal
box-flex-group
integer
of12 29
box-lines
single | multiple
box-orient
horizontal | verticle | inline-
axis | block-axis
box-pack
start | end | center | justify
box-sizing
content-box | padding-box |
border-box | margin-box
tab-side
top | bottom | left | right

TABLE
border-collapse
collapse | separate
empty-cells
show | hide
border-spacing
length length
table-layout
auto | fixed
caption-side
top | bottom | left | right

SPEECH
cue
cue-before
cue-after
cue-before
url [ silent | x-soft | soft |
medium | loud | x-loud | none |
inherit ]
number
%
of13 29
mark
mark-before
mark-after
mark-before
string
mark-after
string
voice-pitch-range
x-low | low | medium | high | x-
high | inherit
number
voice-stress
strong | moderate | none |
reduced | inherit
voice-volume
silent | x-soft | soft | medium
| loud | x-loud | inherit
number
%
cue-after
url [ silent | x-soft | soft |
medium | loud | x-loud | none |
inherit ]
number
%
pause
pause-before
pause-after
pause-before
none | x-weak | weak | medium |
strong | x-strong | inherit
time
phonemes
string
voice-duration
time
voice-family
inherit | [ <specific-voice,
age, generic-voice, number> ]
voice-rate
x-slow | slow | medium | fast |
x-fast | inherit
%
voice-pitch
x-low | low | medium | high | x-
high | inherit
number
%
of14 29
caption-side
top | bottom | left | right
rest
rest-before
rest-after
rest-before
none | x-weak | weak | medium |
strong | x-strong | inherit
time
rest-after
none | x-weak | weak | medium |
strong | x-strong | inherit
time
speak
none | normal | spell-out |
digits | literal-punctuation |
no-punctuation | inherit-number

LIST & MARKERS
list-style
list-style-type
list-style-position
list-style-image
list-style-image
none
url
list-style-type
none | asterisks | box | check |
circle | diamond | disc | hyphen
| square | decimal | decimal-
leading-zero | lower-roman |
upper-roman | lower-alpha |
upper-alpha | lower-greek |
lower-latin | upper-latin |
hebrew | armenian | georgian |
cjk-ideographic | hiragana |
katakana | hiragana-iroha |
katakana-iroha | footnotes
marker-offset
auto
length

of15 29
ANIMATIONS
animations
animation-name
animation-duration
animation-timing-function
animation-delay
animation-iteration-count
animation-direction
animation-name
none | IDENT
animation-duration
time
animation-timing-function
ease | linear | ease-in | ease-
out | ease-in-out | cubic-Bezier
(number, number, number, number)
animation-delay
time
animation-iteration-count
inherit
number
animation-direction
normal | alternate
animation-play-state
running | paused

TRANSITIONS
transitions
transitions-property
transitions-duration
transitions-timing-function
transitions-delay
transitions-delay
time
transitions-duration
time
transitions-property
none | all
of16 29
transition-timing-function
ease | linear | ease-in | ease-out | ease-in-out | cubic-
Bezier( number, number, number, number)
UI
appearance
normal | inherit | [icon |
window | desktop | work-space |
document | tooltip | dialog |
button | push-button | hyperlink
| radio-button | checkbox |
menu-item | tab | menu | menubar
| pull-down-menu | pop-up-menu |
list-menu | radio-group |
checkbox-group | outline-tree |
range | field | combo-box |
signature | password]
cursor
auto | crosshair | default |
pointer | move | e-resize | ne-
resize | nw-resize | n-resize |
se-resize | sw-resize | sw-
resize | s-resize | w-resize |
text | wait | help
url
icon
auto | inherit
url
nav-index
auto | inherit
number
nav-up
auto | inherit <id> [current |
root | <target-name>
nav-right
auto | inherit <id> [current |
root | <target-name>
nav-down
auto | inherit <id> [current |
root | <target-name>
nav-left
auto | inherit <id> [current |
root | <target-name>
resize
none | both | horizontal |
vertical | inherit

of17 29
PSEUDO-CLASS
:active an activated element
:focus an element while the element has focus
:hover an element when you mouse over it
:link an unvisited link
:disabled an element while the element is disabled
:enabled an element while the element is enabled
:checked an element that is checked
:selection an element that is currently selected or highlighted by the user
:lang allows the author to specify a language to use in a specified element
:nth-child(n) an element that is the n-th sibling
:nth-last-child(n) an element that is the n-th sibling counting from the last sibling
:first-child an element that is the first sibling
:last-child an element that is the last sibling
:only-child an element that is the only child
:nth-of-type(n) an element that is the n-th sibling of its type
:nth-last-of-
type(n)
an element that is the n-th sibling of its type counting from the last sibling
:last-of-type an element that is the last sibling of its type
:first-of-type an element that is the first sibling of its type
:only-of-type an element that is the only child of its type
:empty an element that has no children
:root root element within the document
:not(x) an element not represented by the argument ‘x’
:target a target element as specified by a target in a UR
of18 29
PSEUDO-ELEMENT
ABSOLUTE MEASUREMENT
RELATIVE MEASUREMENT
::first-letter Adds special style to the first letter of a text
::first-line Adds special style to the first line of a text
::before Inserts some content before an element
::after Inserts some content after an element
% percentage
cm centimeter
in inch
mm millimeter
pc pica (1p = 12 points)
pt point (1pt = 1/72 inch)
ch width of the “0” glyph found in the font for the font size used to render
em 1em = current font size of current element
ex x-height of the element’s font
gd the grid defined by ‘layout-grid’
px pixel of the viewing device
rem the font size of the root element
vh the viewport’s height
vw the viewport's width
vm viewport’s height or width, whichever is smaller of the two
of19 29
ANGLES
TIME
FREQUENCY
COLORS
deg degrees
grad grads
rad radians
turn turns
ms milli-seconds
s seconds
Hz hertz
kHz kilo-hertz
color name red, blue, green, dark green
rgb(x,y,z) red = rgb(255,0,0)
rgb(x%,y%,z%) red = rgb(100%,0,0)
rgba(x,y,z,alpha) red = rgba(255,0,0,0)
#rrggbb red = #ff0000 (or shorthand - #f00)
hsl(hue, saturation, lightness) red = hsl (0, 100%, 50%)
flabor An accent color (typically chosen by the user) to customize the user
interface of the user agent itself.
currentColor computer value of the ‘currentColor’ keyword is the computed
value of the ‘color’ property
of20 29
SELECTOR TYPES
Name Info Example
Universal Any element * { font: 10px Arial; }
Type Any element of that type h1 { text-decoration: underline; }
Grouping Multiple elements of different types h1, h2, h3 { font-family: Verdana; }
Class Multiple elements of different types when
you don’t want to affect all instances of that
type
.sampleClass { text-decoration:
underline; }
Id A single element type when you don’t want
to affect all instances of that type
#sampleID { text-decoration:
underline; }
Descendant An element that is below (in the document
tree) another element - no matter how
many levels below
#gallery h1 { text-decoration:
underline; }
Child An element that is directly below (in the
document tree) another element
#title > p { font-weight: bold; }
Adjacent Sibling All elements that share the same parent and
elements are in the same immediate
sequence
h1 + p { font-style: italic; }
General Sibling All elements that share the same parent and
elements are in the same sequence (not
necessarily immediate)
h1 ~ p { font-style: italic; }
Attribute An element that matches the attribute listed E[selected] - att whatever the value
E[att="val"] - att with a specific
value
E[rel~="next"] - att with a value is a
whitespace separated list
*[lang|="en"] - att value either being
exactly "val" or beginning
with "val" immediately followed by "-"
E[att^="val"] - att value that begins
with the prefix "val"
of21 29
OUTLINE
outline
outline-color
outline-style
outline-width
outline-offset
inherit
length
outline-style
none | dotted | dashed | solid |
double | groove | ridge | inset
| outset
outline-width
thin | medium | thick
length

3D / 2D TRANSFORM
backface-visibility
visible | hidden
perspective
none
number
perspective-origin
[ [ percentage> | <length> |
left | center | right ]
[ <percentage> | <length> | top
| center | bottom ]? ]
<length> ] | [ [ [ left | center
| right ] || [ top | center |
bottom ] ] <length> ]
transform
none | matrix | matrix3d |
translate3d | tranlateX |
translateY | translateZ | scale
| scale3d | scaleX | scaleY |
scaleZ | rotate | rotate3d |
rotateX | rotateY | rotateZ |
skewX | skewY | skew |
perspective
transform-origin
[ [ [ <percentage> | <length> |
left | center | right ]
[ <percentage> | <length> | top
| center | bottom ]? ]
<length> ] | [ [ [ left | center
| right ] || [ top | center |
bottom ] ] <length> ]

of22 29
transform-style
flat | preserve-3d
GENERATED CONTENT
bookmark-label
content
attr
string
bookmark-level
none
integer
bookmark-target
self
url
attr
border-length
self
url
attr
content
normal | none | inhibit
url
counter-reset
none
identifier number
crop
auto
shape
display
normal | none | list-item
float-offset
length length
hyphenate-after
auto
integer
counter-increment
none
identifier number
of23 29
hyphenate-lines
no-limit
integer
hyphenate-resource
none
url
hyphens
none | manual | auto
image-resolution
normal | auto
dpi
hyphenate-before
auto
integer
hyphenate-character
auto
string
marks
[crop || cross ] | none
move-to
normal | here
identifier
page-policy
start | first | last
quotes
none
string string string string
string-set
identifier
content-list
text-replace
none
[<string> <string>]+

of24 29
LINE BOX
alignment-adjust
auto | baseline | before-edge |
text-before-edge | middle |
central | after-edge | text-
after-edge | ideographic |
alphabetic | hanging |
mathematical
length
%
alignment-baseline
baseline | ise-script | before-
edge | text-before-edge | after-
edge | text-after-edge | central
| middle | ideographic |
alphabetic | hanging |
mathematical
baseline-shift
baseline | sub | super
length
%
dominant-baseline
auto | use-script | no-change |
reset-size | alphabetic |
hanging | ideographic |
mathematical | central | middle
| text-after-edge | text-before-
edge
drop-initial-after-align
alignment-baseline
drop-initial-after-align
central | middle | after-edge |
text-after-edge | ideographic |
alphabetic | mathematical
%
drop-initial-before-align
caps-height
alignment-baseline
drop-initial-before-adjust
before-edge | text-before-edge |
central | middle | hanging |
mathematical
length
%
drop-initial-value
initial
integer
drop-initial-size
auto
integer
%
line
of25 29
inline-box-align
initial | last
integer
line-height
normal
number
length
%
line-stacking
line-stacking-strategy
line-stacking-ruby
line-stacking-shift
line-stacking-strategy
inline-line-height | block-line-
height | max-height | grid-
height
line-stacking-ruby
exclude-ruby | include-ruby
line-stacking-shift
consider-shifts | disregard-
shifts
line-stacking
line-stacking-strategy
line-stacking-ruby
line-stacking-shift
text-height
auto | font-size | text-size |
max-size
vertical-align
Baseline | sub | super | top |
text-top | middle | bottom |
text-bottom
length
%

of26 29
HYPERLINK
target
target-name
target-new
target-position
target-name
current | root | parent | new |
modal
string
target-new
window | tab | none
target-position
above | behind | front | back

POSITIONING
bottom
auto
%
length
right
auto
%
length
clip
shape
auto
top
auto
%
length
left
auto
%
length
z-index
auto
Number

of27 29
position
static | relative | absolute | fixed
RUBY
ruby-align
auto | start | left | center |
end | right | distribute-letter
| distribute-space | line-edge
ruby-overhang
auto | start | end | none
ruby-position
before | after | right | inline
ruby-span
attr(x) | none

PAGED MEDIA
fit
fill | hidden | meet | slice
fit-position
[top | center | bottom] || [left
| center | right]
length
%
orphans
integer
image-orientation
auto
angle
page
auto
identifier
page-break-after
auto | always | avoid | left |
right
page-break-before
auto | always | avoid | left |
right
page-break-inside
auto | avoid
of28 29
size
auto | landscape | portrait
length
windows
integer

of29 29

More Related Content

More from Zafer Galip Ozberk

React native notes for professionals
React native notes for professionalsReact native notes for professionals
React native notes for professionalsZafer Galip Ozberk
 
React js notes for professionals
React js notes for professionalsReact js notes for professionals
React js notes for professionalsZafer Galip Ozberk
 
Mongo db notes for professionals
Mongo db notes for professionalsMongo db notes for professionals
Mongo db notes for professionalsZafer Galip Ozberk
 
Kotlin notes for professionals
Kotlin notes for professionalsKotlin notes for professionals
Kotlin notes for professionalsZafer Galip Ozberk
 
Jquery notes for professionals
Jquery notes for professionalsJquery notes for professionals
Jquery notes for professionalsZafer Galip Ozberk
 
Html5 canvas notes for professionals
Html5 canvas notes for professionalsHtml5 canvas notes for professionals
Html5 canvas notes for professionalsZafer Galip Ozberk
 
Angular js notes for professionals
Angular js notes for professionalsAngular js notes for professionals
Angular js notes for professionalsZafer Galip Ozberk
 
Angular2 notes for professionals
Angular2 notes for professionalsAngular2 notes for professionals
Angular2 notes for professionalsZafer Galip Ozberk
 
Algorithms notes for professionals
Algorithms notes for professionalsAlgorithms notes for professionals
Algorithms notes for professionalsZafer Galip Ozberk
 
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)Gi̇ri̇şi̇mci̇li̇k destek programi_(2)
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)Zafer Galip Ozberk
 
Introduction to digital_signage
Introduction to digital_signageIntroduction to digital_signage
Introduction to digital_signageZafer Galip Ozberk
 

More from Zafer Galip Ozberk (20)

The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
 
React native notes for professionals
React native notes for professionalsReact native notes for professionals
React native notes for professionals
 
React js notes for professionals
React js notes for professionalsReact js notes for professionals
React js notes for professionals
 
Mysql notes for professionals
Mysql notes for professionalsMysql notes for professionals
Mysql notes for professionals
 
Mongo db notes for professionals
Mongo db notes for professionalsMongo db notes for professionals
Mongo db notes for professionals
 
Linux note for professionals
Linux note for professionalsLinux note for professionals
Linux note for professionals
 
Kotlin notes for professionals
Kotlin notes for professionalsKotlin notes for professionals
Kotlin notes for professionals
 
Jquery notes for professionals
Jquery notes for professionalsJquery notes for professionals
Jquery notes for professionals
 
Html5 notes for professionals
Html5 notes for professionalsHtml5 notes for professionals
Html5 notes for professionals
 
Html5 canvas notes for professionals
Html5 canvas notes for professionalsHtml5 canvas notes for professionals
Html5 canvas notes for professionals
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
Css notes for professionals
Css notes for professionalsCss notes for professionals
Css notes for professionals
 
Bootstrap tutorial
Bootstrap tutorialBootstrap tutorial
Bootstrap tutorial
 
Angular js notes for professionals
Angular js notes for professionalsAngular js notes for professionals
Angular js notes for professionals
 
Angular2 notes for professionals
Angular2 notes for professionalsAngular2 notes for professionals
Angular2 notes for professionals
 
Algorithms notes for professionals
Algorithms notes for professionalsAlgorithms notes for professionals
Algorithms notes for professionals
 
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)Gi̇ri̇şi̇mci̇li̇k destek programi_(2)
Gi̇ri̇şi̇mci̇li̇k destek programi_(2)
 
KOSGEB TABLOLAR
KOSGEB TABLOLARKOSGEB TABLOLAR
KOSGEB TABLOLAR
 
Introduction to digital_signage
Introduction to digital_signageIntroduction to digital_signage
Introduction to digital_signage
 
Is plani dosyasi
Is plani dosyasiIs plani dosyasi
Is plani dosyasi
 

Recently uploaded

AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 

Wsu css-cheat-sheet

  • 1. Beginner’s essential CSS Cheat Sheet What makes a website unique is it’s styling. A must have skill for every web developer. #################
  • 2. TABLE OF CONTENTS Backgrounds 4 Border 5 Box Model 7 Font 9 Text 10 Column 11 Colors 12 Grid Positioning 12 Template Layout 12 Table 13 Speech 13 List & Markers 15 Animations 16 Transitions 16 UI 17 Pseudo-class 18 Pseudo-element 19 Absolute Measurement 19 Relative Measurement 19 Angles 20 Time 20 Frequency 20 Colors 20 of2 29
  • 3. Selector Types 21 Outline 22 3D / 2D Transform 22 Generated Content 23 Line Box 25 Hyperlink 27 Positioning 27 Ruby 28 Paged Media 28 of3 29
  • 4. BACKGROUNDS background background-image background-position background-size background-repeat background-attachment background-origin background-clip background-color background-image url none background-position top left | top center | top right | center left | center center | center right | bottom left | bottom center | bottom right x-% y-% x-pos y-pos background-size length % auto | cover | contain background-repeat repeat | repeat-x | repeat-y | no-repeat background-attachment scroll | fixed background-origin border-box | padding-box | content-box background-clip length % border-box | padding-box | content-box | no-clip background-color color transparent
 of4 29
  • 5. BORDER border border-width border-style border-color border-width thin | medium | thick | length border-style none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset border-color color border-bottom border-bottom-width border-style border-color border-left border-left-width border-style border-color border-left-style border-style border-right-color border-color border-right-width thin | medium | thick | length border-top-width thin | medium | thick | length border-break border-width border-style color close border-bottom-color border-color border-bottom-style border-style border-left-color border-color border-left-width thin | medium | thick length border-right-style border-style of5 29
  • 6. border-top border-top-width border-style border-color border-top-color border-color border-top-style border-style box-shadow inset || [ length, length, length, length || <color> ] none border-collapse collapse | separate border-image image [ number / % border-width stretch | repeat | round ] none border-right border-right-width border-style border-color border-radius border-radius border-top-right-radius border-bottom-right-radius border-bottom-left-radius border-top-left-radius border-top-right-radius length border-bottom-right-radius length border-bottom-left-radius length of6 29
  • 7. BOX MODEL float left | right | none height auto length % max-height none length % max-width none length % min-height none length % width auto % length margin margin-top margin-right margin-bottom margin-left margin-bottom auto length % margin-left auto height % margin-right auto height % margin-top auto length % of7 29
  • 8. padding padding-top padding-right padding-bottom padding-left padding-bottom length % padding-left length % padding-right length % padding-top length % display none | inline | block | inline- block | list-item |run-in | compact | table | inline-table | table-row-group | table-header- group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | ruby | ruby-base | ruby-text | ruby-base-group | ruby-text-group marquee-direction forward | reverse marquee-loop infinite integer marquee-play-count infinite integer marquee-speed slow | normal | fast marquee-style scroll | slide | alternate overflow visible | hidden | scroll | auto | no-display | no-content overflow-x overflow-y overflow-style auto | marquee-line | marquee- block overflow-x visible | hidden | scroll | auto | no-display | no-content of8 29
  • 9. rotation angle rotation-point position (paired value off-set) visibility visible | hidden | collapse clear left | right | both | none FONT font font-style font-variant font-weight font-size/line-height font-family caption | icon | menu | message- box | small-caption | status-bar font-size-adjust none | inherit number font-family normal | wider | narrower | ultra-condensed | extra- condensed | condensed | semi- condensed | semi-expanded | ultra-expanded | inherit font-style normal | italic | oblique | inherit font-variant normal | small-caps | inherit font-size xx-small | x-small | small | medium | large | x-large | xx- large | smaller | larger | inherit length % font-weight normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit of9 29
  • 10. TEXT
 direction ltr | rtl | inherit hanging-punctuation none | [ start | end | end- edge ] letter spacing normal length % text-outline none color length unicode-bidi normal | embed | bidi-override white-space normal | pre | nowrap | pre-wrap | pre-line white-space-collapse perserve | collapse | pre-serve- breaks | discard punctuation-trim none | [ start | end | adjacent ] text-align start | end | left | right | center | justify text-align-last start | end | left | right | center | justify text-decoration none | underline | overline | line-thorugh | blink text-shadow none color length word-break normal | keep-all | loose | break-strict | break-all word-wrap normal length % of10 29
  • 11. text-emphasis none | [ [ accent | dot | circle | disc | [ before | after ]?] text-indent length % text-justify auto | inter-word | inter- ideograph | inter-cluster | distribute | kashida | tibetan text-transform none | capitalize | uppercase | lowercase text-wrap normal | unresrricted | none | suppress word-spacing normal length % COLUMN column-count auto number column-fill auto | balance column-gap normal length column-rule column-rule-width column-rule-style column-rule-color column-rule-style border-style columns column-width column-count of11 29
  • 12. column-rule-width thin | medium | thick length column-span 1 | all column-width auto length COLORS color inherit color opacity inherit number GRID POSITIONING grid-columns none | inherit [ length percentage relative length ] grid-rows none | inherit [ length percentage relative length ]
 TEMPLATE LAYOUT box-align start | end | center | base box-direction normal | reverse box-flex normal box-flex-group integer of12 29
  • 13. box-lines single | multiple box-orient horizontal | verticle | inline- axis | block-axis box-pack start | end | center | justify box-sizing content-box | padding-box | border-box | margin-box tab-side top | bottom | left | right
 TABLE border-collapse collapse | separate empty-cells show | hide border-spacing length length table-layout auto | fixed caption-side top | bottom | left | right
 SPEECH cue cue-before cue-after cue-before url [ silent | x-soft | soft | medium | loud | x-loud | none | inherit ] number % of13 29
  • 14. mark mark-before mark-after mark-before string mark-after string voice-pitch-range x-low | low | medium | high | x- high | inherit number voice-stress strong | moderate | none | reduced | inherit voice-volume silent | x-soft | soft | medium | loud | x-loud | inherit number % cue-after url [ silent | x-soft | soft | medium | loud | x-loud | none | inherit ] number % pause pause-before pause-after pause-before none | x-weak | weak | medium | strong | x-strong | inherit time phonemes string voice-duration time voice-family inherit | [ <specific-voice, age, generic-voice, number> ] voice-rate x-slow | slow | medium | fast | x-fast | inherit % voice-pitch x-low | low | medium | high | x- high | inherit number % of14 29
  • 15. caption-side top | bottom | left | right rest rest-before rest-after rest-before none | x-weak | weak | medium | strong | x-strong | inherit time rest-after none | x-weak | weak | medium | strong | x-strong | inherit time speak none | normal | spell-out | digits | literal-punctuation | no-punctuation | inherit-number
 LIST & MARKERS list-style list-style-type list-style-position list-style-image list-style-image none url list-style-type none | asterisks | box | check | circle | diamond | disc | hyphen | square | decimal | decimal- leading-zero | lower-roman | upper-roman | lower-alpha | upper-alpha | lower-greek | lower-latin | upper-latin | hebrew | armenian | georgian | cjk-ideographic | hiragana | katakana | hiragana-iroha | katakana-iroha | footnotes marker-offset auto length
 of15 29
  • 16. ANIMATIONS animations animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-name none | IDENT animation-duration time animation-timing-function ease | linear | ease-in | ease- out | ease-in-out | cubic-Bezier (number, number, number, number) animation-delay time animation-iteration-count inherit number animation-direction normal | alternate animation-play-state running | paused
 TRANSITIONS transitions transitions-property transitions-duration transitions-timing-function transitions-delay transitions-delay time transitions-duration time transitions-property none | all of16 29
  • 17. transition-timing-function ease | linear | ease-in | ease-out | ease-in-out | cubic- Bezier( number, number, number, number) UI appearance normal | inherit | [icon | window | desktop | work-space | document | tooltip | dialog | button | push-button | hyperlink | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password] cursor auto | crosshair | default | pointer | move | e-resize | ne- resize | nw-resize | n-resize | se-resize | sw-resize | sw- resize | s-resize | w-resize | text | wait | help url icon auto | inherit url nav-index auto | inherit number nav-up auto | inherit <id> [current | root | <target-name> nav-right auto | inherit <id> [current | root | <target-name> nav-down auto | inherit <id> [current | root | <target-name> nav-left auto | inherit <id> [current | root | <target-name> resize none | both | horizontal | vertical | inherit
 of17 29
  • 18. PSEUDO-CLASS :active an activated element :focus an element while the element has focus :hover an element when you mouse over it :link an unvisited link :disabled an element while the element is disabled :enabled an element while the element is enabled :checked an element that is checked :selection an element that is currently selected or highlighted by the user :lang allows the author to specify a language to use in a specified element :nth-child(n) an element that is the n-th sibling :nth-last-child(n) an element that is the n-th sibling counting from the last sibling :first-child an element that is the first sibling :last-child an element that is the last sibling :only-child an element that is the only child :nth-of-type(n) an element that is the n-th sibling of its type :nth-last-of- type(n) an element that is the n-th sibling of its type counting from the last sibling :last-of-type an element that is the last sibling of its type :first-of-type an element that is the first sibling of its type :only-of-type an element that is the only child of its type :empty an element that has no children :root root element within the document :not(x) an element not represented by the argument ‘x’ :target a target element as specified by a target in a UR of18 29
  • 19. PSEUDO-ELEMENT ABSOLUTE MEASUREMENT RELATIVE MEASUREMENT ::first-letter Adds special style to the first letter of a text ::first-line Adds special style to the first line of a text ::before Inserts some content before an element ::after Inserts some content after an element % percentage cm centimeter in inch mm millimeter pc pica (1p = 12 points) pt point (1pt = 1/72 inch) ch width of the “0” glyph found in the font for the font size used to render em 1em = current font size of current element ex x-height of the element’s font gd the grid defined by ‘layout-grid’ px pixel of the viewing device rem the font size of the root element vh the viewport’s height vw the viewport's width vm viewport’s height or width, whichever is smaller of the two of19 29
  • 20. ANGLES TIME FREQUENCY COLORS deg degrees grad grads rad radians turn turns ms milli-seconds s seconds Hz hertz kHz kilo-hertz color name red, blue, green, dark green rgb(x,y,z) red = rgb(255,0,0) rgb(x%,y%,z%) red = rgb(100%,0,0) rgba(x,y,z,alpha) red = rgba(255,0,0,0) #rrggbb red = #ff0000 (or shorthand - #f00) hsl(hue, saturation, lightness) red = hsl (0, 100%, 50%) flabor An accent color (typically chosen by the user) to customize the user interface of the user agent itself. currentColor computer value of the ‘currentColor’ keyword is the computed value of the ‘color’ property of20 29
  • 21. SELECTOR TYPES Name Info Example Universal Any element * { font: 10px Arial; } Type Any element of that type h1 { text-decoration: underline; } Grouping Multiple elements of different types h1, h2, h3 { font-family: Verdana; } Class Multiple elements of different types when you don’t want to affect all instances of that type .sampleClass { text-decoration: underline; } Id A single element type when you don’t want to affect all instances of that type #sampleID { text-decoration: underline; } Descendant An element that is below (in the document tree) another element - no matter how many levels below #gallery h1 { text-decoration: underline; } Child An element that is directly below (in the document tree) another element #title > p { font-weight: bold; } Adjacent Sibling All elements that share the same parent and elements are in the same immediate sequence h1 + p { font-style: italic; } General Sibling All elements that share the same parent and elements are in the same sequence (not necessarily immediate) h1 ~ p { font-style: italic; } Attribute An element that matches the attribute listed E[selected] - att whatever the value E[att="val"] - att with a specific value E[rel~="next"] - att with a value is a whitespace separated list *[lang|="en"] - att value either being exactly "val" or beginning with "val" immediately followed by "-" E[att^="val"] - att value that begins with the prefix "val" of21 29
  • 22. OUTLINE outline outline-color outline-style outline-width outline-offset inherit length outline-style none | dotted | dashed | solid | double | groove | ridge | inset | outset outline-width thin | medium | thick length
 3D / 2D TRANSFORM backface-visibility visible | hidden perspective none number perspective-origin [ [ percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] <length> ] | [ [ [ left | center | right ] || [ top | center | bottom ] ] <length> ] transform none | matrix | matrix3d | translate3d | tranlateX | translateY | translateZ | scale | scale3d | scaleX | scaleY | scaleZ | rotate | rotate3d | rotateX | rotateY | rotateZ | skewX | skewY | skew | perspective transform-origin [ [ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] <length> ] | [ [ [ left | center | right ] || [ top | center | bottom ] ] <length> ]
 of22 29
  • 23. transform-style flat | preserve-3d GENERATED CONTENT bookmark-label content attr string bookmark-level none integer bookmark-target self url attr border-length self url attr content normal | none | inhibit url counter-reset none identifier number crop auto shape display normal | none | list-item float-offset length length hyphenate-after auto integer counter-increment none identifier number of23 29
  • 24. hyphenate-lines no-limit integer hyphenate-resource none url hyphens none | manual | auto image-resolution normal | auto dpi hyphenate-before auto integer hyphenate-character auto string marks [crop || cross ] | none move-to normal | here identifier page-policy start | first | last quotes none string string string string string-set identifier content-list text-replace none [<string> <string>]+
 of24 29
  • 25. LINE BOX alignment-adjust auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text- after-edge | ideographic | alphabetic | hanging | mathematical length % alignment-baseline baseline | ise-script | before- edge | text-before-edge | after- edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical baseline-shift baseline | sub | super length % dominant-baseline auto | use-script | no-change | reset-size | alphabetic | hanging | ideographic | mathematical | central | middle | text-after-edge | text-before- edge drop-initial-after-align alignment-baseline drop-initial-after-align central | middle | after-edge | text-after-edge | ideographic | alphabetic | mathematical % drop-initial-before-align caps-height alignment-baseline drop-initial-before-adjust before-edge | text-before-edge | central | middle | hanging | mathematical length % drop-initial-value initial integer drop-initial-size auto integer % line of25 29
  • 26. inline-box-align initial | last integer line-height normal number length % line-stacking line-stacking-strategy line-stacking-ruby line-stacking-shift line-stacking-strategy inline-line-height | block-line- height | max-height | grid- height line-stacking-ruby exclude-ruby | include-ruby line-stacking-shift consider-shifts | disregard- shifts line-stacking line-stacking-strategy line-stacking-ruby line-stacking-shift text-height auto | font-size | text-size | max-size vertical-align Baseline | sub | super | top | text-top | middle | bottom | text-bottom length %
 of26 29
  • 27. HYPERLINK target target-name target-new target-position target-name current | root | parent | new | modal string target-new window | tab | none target-position above | behind | front | back
 POSITIONING bottom auto % length right auto % length clip shape auto top auto % length left auto % length z-index auto Number
 of27 29
  • 28. position static | relative | absolute | fixed RUBY ruby-align auto | start | left | center | end | right | distribute-letter | distribute-space | line-edge ruby-overhang auto | start | end | none ruby-position before | after | right | inline ruby-span attr(x) | none
 PAGED MEDIA fit fill | hidden | meet | slice fit-position [top | center | bottom] || [left | center | right] length % orphans integer image-orientation auto angle page auto identifier page-break-after auto | always | avoid | left | right page-break-before auto | always | avoid | left | right page-break-inside auto | avoid of28 29
  • 29. size auto | landscape | portrait length windows integer
 of29 29