Notes Css
Notes Css
Valuo proporty
Pitiostlblor lot oY inst- Boloctor
bynta
Fxample
clomont
fst tavgzt coil
Contont otto
-lottor 1.FiYst
maikot
aftor
fove bo
doloctlon
line
-loto)
lettoy tist
6type has
fHopvkValuo
:Pscido- oc
tor Geldyntax
oleentf
part dpaciic >
oo ittagel to it
nl psoudo myorbnt ThiS)
target uoil! dt
doroont part apocifie
Sr)ETOR
Erample
Aoloctos :fnst-liro
propo ty iValuo,
&8olocticn
tohonovor doat
Contont
Fxarnple
oyntax
P :SolocHion
dolec toy doloction
bq-C: Yoloo;
Paopoyty :Value
tolor :7d
PosTTI ON PROPERTY
tocbpage positon
positon is stat
dofautt Valuo
nnol mo
y olo ront is Stotic 0
Can 9. typos
) Absouto
) Rolativo.
ayntar.
TdativoI
:Valuo : Posifion hbsoluto oy
Pepevty
ABSOLUTE olornont o
otavt positions tho
Jrno
magirany
Positibn Absoluta
Bovdos ing
) BErORE
Can bo LISCd to Insox
FX AMPE
h:: bofbro
eontont M 9
5. AFTER
Chomo CObtont astoy
Can bo tscd inort
tho Contont
olonont
Exampk
dynta
n':asto
Bcloctoy astoy
Contont n
Psopontyg valuo; bor doy pr Qolid block
Position . absoluto
top 40 p
NoTE contont paco uo
hl boforo
8)MARKER
Dad usito
5) last -of - tpe
6) otus 6) hhoftypo
-
) Valid
TEXT PROPERTY
Its oYk on
On cookpage
8VNTAX
:Valuo
Propoty
Horo have
J. Coioi
d. tout - aln
toxt shadoe
toxt docoraton
5 foxt - tanstox m
6 tovct - incontont
1. letox - pocing
8- line - oight
font-dize
font
fonl wcight
fontstylo
12
Varont
ont -
13
J4. fott-ovolous
otd Spaing
e 6. co color
tho
totciange
to Coloy
CASod
Jts
the text
Example0
Coloy :10d,
Qelecto f
(oloY . Faloluo
TEXT-
AL1GN
toxt
(ontou ight , lot
9
Hovo
) Contor
) Rgnt
Golecoy
foxtalign Value;
Example
PE
toxt-align com; toxt align loft. tozt align ht
3TEXT -SHADo0
CYcato ahadou of tort
X and Y anis.
hove
ucbpoge
8YNTAX
ExAMPLE
P
IPI IPx black ;
toxt - hodpw
mako blue).
ohodo Colo
TEXT - DeoRATLON
cnhancao tost on
Hoxo oo isca moo
ort
Ii ko
uobpage
has d thngs
D Cndoulne
) Jinothyough.
Bolochos
'Valuo;
-decoxaton
fozt
EXAMPLE
Hon'Ovoiltnotyt-docoaicn bra
dotova
on tion :urndeno toxt 2
thouch
Contont Jhis 8 tentent
This is
This (3 Contont
2. JowoY CASO
Copital
Fist lbt bo
8 Capitalize
SyNTAX.
Goloctoyf
fanstormValuo
tott -
2
6) toxt Indont
its hao BomO
obonooy (ISO
Cooton
will
Aos\ -on
dynta doketoy f
fext indont Valuo : tootont
this s
Cooton
JETTER SPRCNG
havng
botwocn
oach lotoc
blatoy
SVNTAX Value ,
SPPCIN,
WORD otucon onch wod
having
lino
(Ont cott Contont
SYNTAX orm
q) joNT -SIZE
tho
to
SYNTAX
Bolocto
font - izo :Valuo ;
havo
laigo xx_lago
Omalo
lavgor
X-amall
*modicam
apociHio s font tosl
farniy
dont
Horo
Corif
âorf.
sang
Gelccto
YNTAY
font -
family
thickno5s offoot
hErGHT
FoNT - 0
I)
100-qO0
havo
No ha
told
boldoy
solctoY
SyNJAX' font.-cooiqht : Value,
)foNT-VARIENT tort on
tho
Luani display
-caps poopo ty
Small
tuobpagoiaotvo homal tal
n
foxt / nt
SINTAX Boloctov
jent-vaviant:
SMAL CCnvo all towovcaso to
Cmalle
in toxt
w)fony arient the toxt
Liant cigpla
hñ
propos ox hot
Small - caps
Caps
wcbpage toxt / font in nosmal
mal hub
dlefault
Er
Syntax
Sobctor font -Vavionl `natl- ap
font-Vaniont Valuc;
Small - Caps
louwo Caso letter nto
conveit all
ard tion
convovtod Uppecase
uppercaso le tors
its Saller font ize (ompaiç
lettovs appoas
lettos toxt
to
Oriqual uppercaso
Content 2
lg
Thig
(ontont . This
). els
ovispsis
nood 9 lmpostant
aboYo
To.
propexttos.
White - Spaco
oxt. will never app Vax tn hot no
Oenflbw hidden ;
LOrofbD hicdon oill hido the Contont
Backqyaul Paguly
Can
Backgpourd
Gatkgyourc inge
*
Eastground
BACK&ROUND IMPGE
S2t image as berkaoad to
Hoyo
wcbpage.
Height/, mini mum is mpoatant to
Hero
PROPERTIES
) Batkqnound vopoat
) ackqvoucd -atachncnt
6) Facg1outod -clip.
Exrmple
s
dv to show
1o0 vh ;Imp
hoight
to/ Relatve Pat ");
bockncund.inage ul CAbsut
3 halp
backgrourd -inage
,With
îmage tb
bo to
avoid hat
7epoatocd
havo
Hoxo
1. no -10peat
2. opeat
3) epoat
backqnound imog
tho
spocifg
things
wo havo H
batk
Same
2) Covoy
Oxginalrogg,
3) Contan ’ 00px
30 Px
) Explicity Dovcloço (o
Backqvourc - position
) on ucbpage
Position image (ento, bottor
, ight ,
COmbination o top left
Contor right
loft
Centor anter right
|Contoy
bottom botby
botom
Centor
. fxodyimqo
Scvo lling.
idth PROPERTY
FEl6HT
NTH Content
cdae CONTENI
-80x. PADDING
-80X BORDER
-80X
Bckenournd-clup) div ExCmple
* backqvour
-atachmentSvold l;
Hs Its Its tode
uoicth
thonand
backgvcundimago Horo
any ocupyng
Stant ouping
orts cefault . "
07
ptig Contont bordoy ,
clemont
Valuo.. koco - - have (ontont
-box box box whoxe
from from dolull 3
thirgs bacqraurd boclqocuc3
Cotent coq
sa of
fo to borck
havo proportos.
Hovo
Dmin -hoight
9) haight ak
) max -haight
) wiztth
width.
5) min -
width
6) max -
SVNTAX
&olector
: Value
Popovty
oictth propoihy
heigh
3
element
henht
) min - By defautt
to tto
at height
boight is our
min -height contont
min,height
elenont mun height thats
Bor anty
but
Contont hoight
nothng mp hoight means
haight
basod 6r'otont heighl
fnucauoc -min
ExCmplo
This is
back; hovo
default :Vauo;
OvOYSlo
)&oll3)Hidden
blio timo prefosty
tho
t'en P
:I this
By* give *By
fSolecto
HEIG1
9) bordoy Ovovi Cverdlou :Syntax
clopnt * EX
AMPLE low Ovevflouw
P 3
Samo as hoight hoxo alco
OvOYfloco /Con tont ororf low
(ontonl
tox
hoight is static
Hoyo abo
also
EXAMPIE: This is
contonl that hero
jlou
Solid back; got conont ovor
bodo 1P
mai hoigt
3
Lidth aplianbo Som blcck
A.Mn- fs notintino levol olemont
wotl as
lovel elemont as cbropt
for nlino block
-
applicablo
îs appictu
JtIs
and mako elorncn
that
displauy popouty
inlino bloce
displayac as
not applicablo
block lovel olenont ard
Pancgaph Con tont
width of
the
Pts actupy a inlio orol oloont
i8
Contont tdth
Ths ocupy only foy
Can' uso mo - wdth
dafaut
that (BocnuaO it ocupy having
mo- wicth)
hat is inltno Hock
Hs dlispau the Contoni
instood of Yovticattye
5)
to
oidth ard beight n
)
<P) Thig is tonlont <IP>/fsdisplau inline
oer ont
pyThig i Contonl (or)
display iinline -block
Conmpre to cisplauy
diforonceis that dispau inlioo -bock j
ling bak aSto tho dloment thonio derent
noxt to othey eemenl r
i8 important
mn - width (o) wdth
ExAMPIE
oidth rotos t
tion
docuvnont is fzod
* Width
moo
contont tion gvon
give
oill fncaoasod
cwdth
moans leight
EX
MPE
solicl black
borclor ) Pr
heght ucth
6)man - 8amo
oidth
also
* Hoo
ExAMPIE:
back
bovdoy :IPz 8olid
t50 ;
maz-idth
values
Somo defautt mavgin
has
EXAMPLE
back )
K
div> boxder : Pz Aolid
Hack;
displa :jnlito -
<ldiv>
2
dispag
lro
iniand
isparo line
Valuos)
Valu
Somantc totbm, blat, bottom R
font
on
Solid modal
no
spaco
, lPx top
top fSochonbordoy: contont
-
P2 manqin
manqin to top
m
boto
B
lavhcol
Al<
Kottdo> (oxtrdlo havo want
lahclo
A3
*Bur doloutt spaC2
no doasn' t'on
41 MoDEL
Box
<Sochion <Isatony ît html
havo Iso
Consisl
) Maqin
) Pasdirg
) Bordor
back,'
8clid
boydoy P x
havo H
Horo this
hard proporty
top
) fadsing- Shost
)
Padding- latt
Right padiog
) Podding -
Padding -Bnthm don't
)
padting
oivn wdth
osolatos
Proport Valio;
EXAMPLE
pating - toþ 5o P,
P
podding - bfl :o pa,
patding -viaht p,
Can USO bko
Padding 95 p
fop 19R BoHom
95px 25 px
fodting tB 14R
H5px
Padding
TARAL B
i
Poddi ng
NOTE
In torviu thoy
qsk padding blt os
Bottom Ioft
TOP Right
Poóding
MaRGIN
lino and clomoai
botwcon
Spoco
USO
D Mawqn - top
) Marqin - botom
Shoyt band pzopos ty this
B) Mangio -vight Mangin
4) Margin Lott
SyNTAX
Solecto
manqin Valuo ;
Eramplo
P
5opx (os) mangto -bottom h0o px,
mangio