CSS Note
CSS Note
xx-small | x-
small | small | medium | large | x-
font-size large | xx-
large | smaller | larger | length
| percentage | initial | inherit
normal | bold | bolder | lighter |
Font Styling font-weight
100 | 200 | 300 | 400 | 500 | 600 |
700 | 800 | 900 | initial | inheri
t
normal | small-
font-variant
caps | initial | inherit
normal | italic | oblique | initial
font-style
| inherit
length | percentage | number | nor
line-height
mal | initial | inherit
none | underline | overline | line-
Text Styling text-decoration
through | blink | initial | inherit
capitalize | lowercase | none | upp
text-transform
ercase | initial | inherit
letter-spacing length | normal | initial | inherit
word-spacing length | normal | initial | inherit
color | transparent | initial | in
background-color https://youtu.be/zm-HPYS_ELU
herit
background-image url | none | initial | inherit
percentage | length | left | cente
Background background-position
r | right | initial | inherit
repeat | repeat-x | repeat-y | no-
background-repeat
repeat | initial | inherit
STYLING
KATEGORY PROPERTYS VALUES SOURCE
Display Inline https://youtu.be/VPaIdiPvWQM
Display Inline-block
Block
length | percentage | auto | initi
width https://youtu.be/VkUSH3SIH0g
al | inherit
length | percentage | auto | initi
Dimensi height
al | inherit
auto | hidden | scroll | visible |
overflow
initial | inherit
Position Static https://youtu.be/qCPrNyW3XFg
Relative
Position Absolute https://youtu.be/ENooU6dnzoQ
Fixed
x-index https://youtu.be/mvLhlt_JPdI
CSS 3
KATEGORY PROPERTYS VALUES SOURCE
border-radius [ length | percentage ] 1 to 4 values https://youtu.be/3xbW5YHln78
border-top-left-radius length | percentage
Border Radius border-top-right-radius length | percentage
border-bottom-right-radius length | percentage
border-bottom-left-radius length | percentage
Opacity opacity alphavalue | initial | inherit https://youtu.be/i9uw6ajdNwI
offset-x offset-y blur-
box-shadow https://youtu.be/RBUHmAL2-os
radius spread radius color
inset offset-x offset-y blur-
https://youtu.be/ck5aAm1LK40
radius spread radius color
Box Shadow offset-x offset-y blur-
radius spread radius color,
offset-x offset-y blur-
radius spread radius color, n
rgba() https://youtu.be/3xtGu46cyKo
Color Alpha hsla()
offset-x offset-y blur-
Text Shadow text-shadow
radius color
https://youtu.be/Cm--989G9OQ
linear-gradient() https://youtu.be/7nyO5BcJjio
Gradien radial-gradient() https://youtu.be/qfw2EczowX4
Font Face >@font-facef https://youtu.be/MR491XQn5NQ
Web Font Generator https://youtu.be/CP49khK4TdY
Vendor Prefix https://youtu.be/aAwDhYmn5Q0
blur (px)
brightness (alphavalue | %)
contrast (alphavalue | %)
saturate (alphavalue | %)
grayscale (alphavalue | %)
Filter filter
sepia (alphavalue | %)
https://youtu.be/HvikjBA5jMc
hue-rotate(deg)
invert(alphavalue | %)
opacity(alphavalue | %)
drop-shadow(sama seperti box-shadow)
ADVANCED DISPLAY
KATEGORY PROPERTYS VALUES SOURCE
row | row-
flex-direction https://youtu.be/-J372iDFU8Y
reverse | column | column-reverse
flex-wrap nowrap | wrap | wrap-reverse
flex-start | flex-
end | center | space-
justify-content
between | space-around | space-
evenly
baseline | center | flex-
Flex Box align-items
start | flex-end | stretc
center | flex-start | flex-
align-content end | space-between | space-
around | stretch
order integer
flex-grow/flex number
auto | baseline | center | flex-
align-self
start | flex-end | stretch
nomor | nama | span nomor | span
grid-column-start https://youtu.be/dQlPlB8Jje0
nama | auto
nomor | nama | span nomor | span
grid-column-end
nama | auto
nomor | nama | span nomor | span
grid-row-start
nama | auto
nomor | nama | span nomor | span
grid-row-end
nama | auto
start-line / end-line | start-line
grid-column
/ span value
start-line / end-line | start-line
grid-row
/ span value
name | row-start / column-start /
grid-area
row-end / start-end
justify-self start | end | center | stretch
align-self start | end | center | stretch
place-self align-self justify-self
repeat() https://youtu.be/IDp118rc3I8
Special Keywords and min-content | max-content
Functions auto-fill | auto-fit
minmax