
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

@keyframes myanimation { 0%{margin-left: 0px;} 50%{margin-left: 30px;} 100%{margin-left: 0px;} } p { animation: myanimation 4s infinite; }
cursor
top
position
right
left
z-index
float
clear
div div * .class #itemid div#itemid div.class div span div, span div > span
div + span div ~ span a[attr] a[attr="value"] a[attr$="value"] a[attr^="value"] a[attr*="value"] a[class~="mot"] a[lang|="fr"]
@font-face { font-family: 'MaPolice'; src: url('fonts/webfontbold.woff'); font-weight: bold; font-style: normal; font-stretch: normal; } p { font-family: 'MaPolice'; }
@supports (display:flex) { div {display: flex; } }
Medias all screen handheld print aural / speech
braille embossed projection tty tv Fonctions color color-index aspect-ratio device-aspect-ratio device-height device-width grid
height monochrome orientation resolution scan width
@media screen and (min-width:800px) { /* Reponsive CSS */ }
Elements
Classes
heritage top, right, bottom, left
Current text in a paragraph
Text
List item List item
static, absolute, relative, fixed
content
overflow
clip
resize
column-width
columns
column-count
column-gap
column-span
column-rule
visibility
display
opacity
page-break-inside
page-break-before
page-break-after
transition-property
transition
transition-duration
transition-timing-function
animation-name
animation-duration
animation-iteration-count
transition-delay
transition-origin
transform
animation
width
height
min-width
max-width
min-height
max-height
border margin
outline-offset outline
border
outline-style
outline
outline-color
outline-width
background-color
background
background-image
background-repeat
background-position
background-attachment
background-origin
background-clip
background-size
border-radius
border-image
margin
padding
box-shadow
box-sizing
matrix, translate, rotate, scale, skew, perspective
counter-increment
counter-reset
letter-spacing
vertical-align
word-spacing
word-break
word-wrap
direction
unicode-bidi
quotes
line-height
color
font-family
font
font-size
font-style
font-weight
font-variant
text-align
text-decoration
text-indent
text-shadow
text-transform
white-space
hyphens
list-style-type
list-style
list-style-image
list-style-position
:lang(var) :first-child :nth-child(n) :last-child :nth-last-child(n) :first-of-type :nth-of-type(n) :only-of-type :last-of-type :nth-last-of-type(n) :not(selecteur) ::first-line ::first-letter ::selection
:root :link :visited :hover :active :focus :checked :enabled :disabled :empty :target ::before ::after
CSS Cheat sheet | v. 1.3 | dec. ‘17 | Olivier Dommange
-webkit- -moz- -ms- -o-
Chrome, Safari Firefox Internet Explorer Opera
Attribute value of selector Calculate - ex. calc(100vw-30px) Linear gradient Radial gradient Reapeat values
RGB color and opacity Variable
width
height padding
(background)
[-style], [-color], [-width]
[-style], [-color], [-width]
flex-direction
flex-wrap
flex-flow
order
flex
grid-template-columns
grid-template-areas
grid-template-rows
grid-gap
grid-column-gap
align-items
grid-row-gap
grid-column
grid-row
grid-area
justify-content
align-self
flex-basis
flex-shrink
flex-grow
grid
Container Item
Container Item
Ecran (fixe & relatif) px % em rem
Viewport vw vh vmin vmax Grille fr
pt pc
Impression cm mm in