0% found this document useful (0 votes)
9 views

WD Assignment 3-2

This document discusses CSS selectors and properties. It explains different types of CSS selectors such as element, class, ID, attribute, and pseudo-class selectors. It also describes common CSS properties like font, color, background, border, padding and others.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

WD Assignment 3-2

This document discusses CSS selectors and properties. It explains different types of CSS selectors such as element, class, ID, attribute, and pseudo-class selectors. It also describes common CSS properties like font, color, background, border, padding and others.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

wgmnt -2

(A)

</D0c7YPE hn>

(hLads

nQvbaf
aceg1und cdos ; uthite ;
.hav-linbyf

Jesty-cntrd: spati- hetuch


þaddng : 0,;
mangn : 0,
"nav-links l f

backgrund-dr:Ad,

Jexd-dee atin,; none,'

posiHn : relathe ;

play: none ;
pesih on : abioluto ;

Faddng 10pu,;
.acholewn hoti .dheb down -mnut
di play: blbck ;

<Ihcads
kicdy
(ul clos narnb"

<li clay
="dspcdon ">
clN clay
"dropdoun
a hef= me 's
"#"> pticn </a
KIdn>

</uls
</hav
<lbody's
Bue Eplasn (sr Selecto.
PSS Selectos ru faterr cAeol to selectard style HTHL
element based on he; atibutes, Ts clases
" Elemant Selectos : seleet HTML elerand bae on thein tag
hame,
uch a b, h, div, at
Clay Selcto: slct HIML
elenot
Vele SUh au navbau, , hom,ed.boset
r heù clous, aIbte
Ja Salecto : Seleet a unipe HTHL
lement
athibeto valuch as # headas, # nam,et,based an 4 jd
Pseudo-clau Selcte
pelatHon to
Solects HTML elernent boyec on thel? t
othu element, h u i hover checkd, t.
" Paeudo -plement elaetor : Select and styly a bat an
cueh as bafo ,:afn,ett. HTHLQlamoret
wil lemd nelate lhe bahaye palion.
7eybatton.
pathinpioli
selame
to fiHord Aprd,pa olonerd
lanetd anwhen Fred! H)
ab1clute; Aeshon:
cntamgcc mal
6lack.
the es
toelemot acalton fotMned neaest o
it ulate
sdselca,2
ned peittrd derent anhen tMbsctu
o: 3)
helattu; basihon:
dumt. oferu
nun The tate, prpety þosnon value
of dyput Me
Static: y
eorbly. wtth alues fasen ss all plasn
uguage ued to dyvb
duwk Jhe peserdatier nrNL
hen niscal aspec 2 ceb pago .

tho stylo atthibuta.


) Jrtovad cS: 9 ed to qbly atylu to asge HTHL dumud

dcurent ng
bdy {
font sis : 2f0%,

LWeol cS bon model Conterd, Paddng border, f


Mauam,
slament and conit f upart: contrd pacttg, leder magtn.
Cntent: h i tho areg înyido tho eleneht whea he tual
diplayed.
Padang : is he sbace between the contert area a
bo des.
o Bordo
arc contert oses.

. bor f

kuigls: 200p;
boe : 2þx solid 6lack
tnugn : 0þx,
Lto hot not on

ehnipu ssed mwh dbvelghrantd to


(mbne mulple nagey nto 0sngle mage .
the
backgcund paihon an elemen sng css.
hs yed or icong es nall mmmgs hal a pugey
ud on a webhage.
2) AIbute Select:
"ibute Selectos ae a tuta of atbul CS Solectos that

and atibuty vale.

css has kuenal Adantoges

"msllery: css erables consitert iying

mulnpea lenent multnanyly.


"heeAuIbIly: CIs proidu acesLlty festura thas mbioe the
Bayii oofenes snludo
ort-size
s) backgusnd

6/ bnde
hoer{ di:v
rsONeS. tackgnd
oncool Chango
kold; uelght: fnt-
deoted They
esucte. HTHL Lett
n
cns daube by
aldshna cuale contento slemrs
dont tht alernt
an
hed; c:Ke
cliey
et an intactiom,
as
such set os
stot
pi on
bsed lemnt zarget -clasu Pseeudo laues: Psedo- toy,
change
am alil-ilont, Prsudo ard lonu Pseuao blam ls
yetheeh ertehal
CS ovesde ntenal
S defnod Styla "
tfefeity . hiphus hohaur stu Inime

You might also like