Download CSS Cheat Sheets to learn Web Development and more Summaries Web Design and Development in PDF only on Docsity!
Ge ere : 10 px,
qa oat : top;
48 plow 9 qe
Goud Uheot Sheet:
foe
ut d= temp Late Column : tf etn sta;
grt teuplale 2Cobumw -
wepeat (2, 1fr 2) ;
4
iz 1
2 | 3
five ft
ie olin. 2fu;
f
2 UY fe 4pthe clement stax
que = Fale ee
vow 2" column amc
tmcdsa at Ytn col
gras Lodunnu pap dope,
2 Sil Y Column FePs.
ul
Uwe Com use
grtol- gap. Zt wilkt
cold equal space
bjwo Ao ws Grant
Zt woche ore
eee eee = a
1 fraction an too praction gore curds = Lolumw «
wummax (Loo pr rate),
; : -p [ Vwin het : Loop ancl
ae —spus ! ase pe; max LU ube atto |
== E 3 |] > parent 1 juekity - chenw: end; 3
4 O|| every shin tas toopx Wak with Hake center value
Wipe | teignt. Bus te whic ta well On ae
eee, 7 tovrtent overflows. Iv thy, Llens veentiv Wore
4 oncur te pee erewek pl
alt 3 { abige = teria
, ise ee SS =
pen 3; furs fy Cher: Starr ; wit abi elt qacd.
fetes oo
1 “ te wilt oli gr aban Per ge e e
= MWerizoutatty . [] zt 2d align verticably.
Two Axes OF FLEXBOA.
Mam axis: Bebived oy pu clisect'ow .
CIOSS Quis + Res pep ees to marains ors .
Kee
kK
* one <
oe Coliww : 1/4 3 pe doi ppateon Pea ois
1 dfn 2fr tfr
a f/x 5 4
-5
gator got : 40 pres
: DORK KOA AS
tho £ ROKR
SERN SEM)
RX ey 7"
OR
O
es x
LD
'¢ %
(xO OO
Od
poy ye AAS
5 a7
Om)
G
Xe
-
=
2 + pore £
BOO OM 5
BRR S205 ustitda— conteuk:
PERK a
yO PKK KOO 4 Cont er 2
-3 -2 -1i “hig - coutent i
COnter
Frex CHEAT SHEET CSS flexible pox uk: !
i 5 AONE Know w gam
— Cg et ee
re
NN)
w
ao
dis ptog* flere ,
t
Fidler - disuction. This foto ee Jnrovo ee ae
uw the eee LontalLner .
Wu ee, = — — a pe
i | £ |
{ ion iba 2 i #
! ieee iy a 1 sr ow:
i ta z Vi ; Lee
Pees hPa
\ ot i ! °
ese ! ; ee lee ee a 4 ee | w Column
frex-dircebiow : 2019 ; flex clinectiow: Sous Teverrse eee
Wa sow frow Ce Oe ee but a0
At Aond aide ou se a
! °
ae 4 | w & Lolumw
3 pee bo#eon~.
2 i
(a
Plinplay : Blo, sintine and uwnline-block .
By depaute with of block element ae
Aoo%o
Waidlta$ 507-5 pe” Space
1
tl
Weektte: looped < empty space __ Eve ug thene One
Apact, dobock elomumnt
do not sumcker ow
Some Line, In general
Oo not Aik poo’
Tndine to teach other.
You wan't CouksolL width and le
oF wivline element. fore ex. spew:
Tntinve- block. (As the tou Auggek, thoy
————— ese” Bovibioekion
of blow and
Widltte 2 2oop; Width = Zop px .
The clement ws
formatteal Os
untlinve elrmunrt but You
Cam apply chsniig ink onk
width tk well.
Fe
* Avimadtion Sree
Ahe Aame A peecl
given. Atant to
Prcogsieys tow
ema.
=
Care-Out
é 8 The Qn wot ow
‘2 tras a Allow
ew ol ‘
9
a
Time
Cart-ww
Cow
Revo
&
ws
°
6
:
Teme
Cose-wn-out
- Avimat ow
4uos £Lorw
AtAantkt anda
dow end.
Rro gees ton
Tl
Rratham
== a
SS Box- MODEL
= eee Un CSS ws a Lox on mother
nn ole fime ch the apace
eve tning ww HIME Us ee bor -moclkeb coke he eg
; OF GX. ww : top,
; dic, Le : - re
ae Seo a by y cle ferent: Te wist Csweate sop emp +4
ena : : 5 Apace ostouncd element uv
4- Content Cosiqenal routeme uvstle eleywrt-) die
Bomeclole (cseeote space bho oo Cn elants =e 2 dpe eee
SeBoerde Weowate boron arncmd tlwek) “Omer) Me a at t ty s
u. Deas Cspoce betwen elemunt ) top ouigne botton ws sbept
Tene | ke hea measur : 25pm ee 2a
Y Top, sug une Orel debe » botton.
weer ee lea to Reg 1 PReAS
4 Tops bodtones al tte
You amr csvate boscenr |
ets <—_- E
v1.0 ven by GORDER
\
Specitying the widltr, colori PADDING
and AAy- {
for ex: bonclerr: ape solcclblacki
Solve: [ial
CONTENT
Pad dima etlous You to
CsLeate Ss poce bekwesvw coutemk
Ondt elemout’s bourn.clany pov &X.
eevee en ee eh. ee TY ; i i
N Faced) 3 dopx;
IF ye waded width as loop, spake Cus top
|
|
|
|
I
tamcl vUonder as 2 pr tha the’ entire Uf sicarihansg Os manger, you caw
witctr becomes 412 pu ioert lo+2) . faces foun, three, 4wo Or one
Bow - Sizing: borcdlenr-borx ; Volue uw poses Qs well.
Tne -boxw- Aizing pore pexty lepers chow the widltt, | You Law wosite Faced eh/ems
Drie Stig nt Of om element tse calculated : P- spect ig ven pacing oe wean gin
we apply doox- Auzing ~ honder- box re Vee Ue “fs hte ona element +
mclceveg anwcl chowder wall be adyuoted ww the
weidtr and hetgite of aw element .
ae
PRATHAM ob
= be Ses ERS aw Tht ee ‘as LL
Z-INDEX
View port oF Acreew mo
° our cle
Blo eS . Z-index iti :
z-index - 2;
Ca
IL ars
me TCC
neg ative X- baler Elements witty posttvve
Let's Box Z-index.
zZ-incdex :-1;
Selector
: ackive
2 Hheckeck
ewroabicc
: fi sut - Chita
: fired of - Aype
foes
Svover
Uw - Suumnge
woe (selector)
nth- child
eo} ic
pe ok
CSS Pseupo Classes.
wm
Eacampte
GQ: active
amput : chee ch
drnpuk : ema Le cl
Pod
P: fist chit
poe are
“input Fi focus
Yao: hover
dnp ue
. mokC p>
.
* Sree ae
P: mth— thitd(z)
P: ovdy- of¢- zype
wept e Spencers
Berori pion.
Selects thre vactive Sink
selects “er threldce.ol dm put olevnine «
Selecks every enabled unput element
Solects ev P elements that Shas
no thilcen. s
selecks ev elements drat us
the pense Lridd of Jas Poe
Selects Bee r element ie th the
fist P Uleweent of, Jés poe
selects the wanp ut element trek
tras fos
Sekects WY on mouse Over,
selects wiput elements witty o ved
within ao peer SOMGE -
Selects cate element on} 7 ae
Selects Ww P elowumts athok aA
setoncd xchild ot als pores: -
Selects every P elements thok uA the
ovly p element of, “kb posume .
Seleets Jonpak element with no
ae sugquired
. Hom addéventdistener ©) method
F addevertdistener wethod attach au went to the speck fied lemme -
Calling ehent Liptenrer eee bee
( ee Ore hectic. = frm Dom
Conant btn= & ent, get Edemnannt By Tt C" ben)ll
bin. addEvewst Listmer Calick 5 =f @) {
waLert ("clicket ) ;
3) 3
Bi i 5 xs This function wLtl rum
OAS ert a
I Gh ees s4 oe Whinw the event OLCW -
Age i ev d
oe ge Tn avis example , whew
OLtUunA Whew UAE slicks button clicked, Cw
UAVASCcCRIPT ARRAY METHODS
Mees I Govcat ( bud) // 1 1,2,2,4 J
[eaeiz sal Aopywithin (0,2,3) Hames z: ae
[az, Sid ev ery (* => *<3) Il febse
142,31. fide (02,5) /T 4,0,03
4,2, 51. fitker (x =? x22) 7/ 02,3)
F4,2,35. pind (xr x71) 2 ue
[4,2)2 3. Sowa ta= ee // true.
[1,2,3). finclinclex ( % =7 x=2) HA
ieee), for Each. (x =? cowsole 105) |] 64,2, 55. unclucles(z) // true.
BEE £41,2,3]. undexop(2) // 1
Daya) 33. for ta jf “Aq2 om
[4,2,3). map (x =7 %%2)
0244461
—====
[42,1]. lestindexOe (ay 772
Ie dn (4) 4 petusvw
fee Re UY heriter rece Eanes 32 Por (3) 7/3 rituw popped element
‘ 01,2,3.04 Eayes
satu ahigied
Chewmuenrt-
£2,31
Wepeone sleeC 3x3) // 1 2,39 |
[4,2,3].shiyeQ) /
= 14243
£1,2,3]. seduce (cx) =7 *ty) Ye |
Function
fe function Keqgword
Withm 6
Ao svaces you Com write
+ er) code. burnelb oF Cocle
You Law wsile
— Dbunely of. tode
OA vitectecl -
eae
fonction SetName (name ) {
Var Stor
setusn str 5
—<$_—___7
Afaer suzwin AAate—
defined thet dus ss
"Py yea oe + Name 5
Jowa Script uisias
Lamelease donguage Ut,
tf fuck vow WEL LS
Ge Combination oF
Word ther the front
OLprabet should be
Boalt anc furwt
“Up dratoet oF Attonch
word Ahoulcd Le Capital
For XE) eset Nicene
mimt you Caw az
wsidi any Live of
Locke
v
Bork the £% the toc unsicle
Ane fume. Whow we
fume wide Joe exeniled -
At the trwe o+ Calli wg Me
a you howe ce para Cf amy .
Sh u N Capital
We Law paws De ete Cum
fuchion. This us optvonal .
Pare ees tone Aome wn-fosmeation
whic. Js used um fumction
Code.
Tailusind flex SLOAALA .
Gace tapteg: pee |
ae
— fx Sdisecktow
io FLOW flerc- oli suctrow . L0Ww ;
Be JUy UWE
flx- UG ow
flee- Aok- swese
fie wre flex- wstap ; aonab ;
flee YLO WHO flex- COTA WO 2 sep 7
fler- Wap - JUVETAE Soe wrab : wo ro -
ae ree
fee Grsvow
fur- pee fe oe 105;
fiexe- gree fer pos
Pak
Flem- 4 fier: tote Cf 5 gee Shows
flax outo flex: 4 ES ee Shrink - 0 flee SJrrive 3 05
f Lex- unital flex ,0 4 LUNLD ; flere - shrine flec- Stouynk : 4;
fiex- ywone fer Loyweone |; "
Or cle
Onder-4 onder: 1; Caceected 3 onder: 3; orden-12 ondonr-i2 oxclen- Last
Osdirn-2z order : 2;
Ondan— fenst ov densaaga ; JLoroen :
aata 5 |
|