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

cssnotes

css notes for front-end developer

Uploaded by

veerasiva1406
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
12 views

cssnotes

css notes for front-end developer

Uploaded by

veerasiva1406
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 45
DATE-10/1/2023 Note -subham mohanty Subham mohanty - ii a] ey - ‘ ang value Seporattd ; aan Size oe Sernitolom= ff remot i Properties Na\ues jo ao hif t = Gree 5 * Calo } 7 style> whole is Stylesheeh oe erement to 5b) used to ie [sich we want Selectors 2S Element selector. — Selector _ which_usest49_Dame ~ as _a_selecroy ‘fer eee in ris 2. | Glass seleday - we define Clacs = "Blue" — #8 acs = “Blue : a a P Claes = “glue” CoIOUY: Blue; P Ea es bet $ unat fected, grees 8) | id selector ; =a rama sili Pee ey oo. color: blue;
- <— i | Here_id is given to diy element -from Yok Kk me diy Ser from Shakc i — et element to whlch _ dyle_is to Ved 12 — _| identified and jastde. Ye Use ar [idwits #4] and assigned ghyte ge ik oo owing Se = dy Element with class. _ ~- 4p _| P. big £ font-size = 20px' div Class=big > ~- PL Zari). Color} blue! Ce ere

. - --¢/ > _ j Qur P Should be alivetd child: | d_tesendant selects ortide Pp £ pie K color # blue!

---- PD IND < p> ~— - Every @ clement inside aitidle elemenh ivreapecive +} attire eet stm gets— thay cule a Pe Coloved Pp £ — - ie k Pete lemenle wit Clase 7 : Calor s blues cotoved gers Gale avticle >» Colared f every cement havite aa ted Juet Class colored and— : VETS) che ast eo adjacent Sibling is~ See ae eee ee rer kgyourd=colov yellow; Wy

this gets < wt ts gs _Pseudo=GClass Selectors _ | selector + Poecdlo-class £ Proper Hy+-vatuzy HH as —o — selector ave thassen according ta Yule Studied i_| and Peeudo-classes classes Can be as follauis= J) iok =__1£ element is a link g)visited - tf element visited 3) hover = TF mouse hovers qvet za } -_ If moure cilek on tt but not reales nth-child(x) - Perliguisx {evel of childs of clemen) q Sejeued : €9. f a+ hover { color i red; hove ing ever link in a Qives ved colour to(t. 2) Pihover, @ | acHue > Colors Ved 5 hovering Over paragraph od clicky ont [rik = Changes Mem fo ves : _ fpr eg. —— $$$ _1\_style- efi) later, ar lener—otan-clemenk.—_ ~ 2) ansev “content before ore ater ene SS Selector a Property; values = Risen - \ Pit first-line } a $ : Gist letper - Te styles Lest letter of element 0 - 7 i 2s 3 like omoj} wit, [Content | pr Perky i PI thefore + 7 a content,” Url (Smiley aif); | 5 L 7 | dete = used insert afte Cantent-ct_elere - aa 5) _2elecisin = when element can en is elesed = Qse ao ' Mesto eds — —| 7 -baaeg rownel 5 yetovas; Atdribure Selectors : Shaving spedfic attribute, .— iT santa. — i. " a ea a [target = "—bianke} { background-color ; yelled 5 Tt _cywes Unk having [oiany as fearaeh abtribuses with, parkg-round cslor yellow + Other formats =Value"" (sith _Specj Fi Attribute. Jal ue- element Larmiwute v="Vaue"] © C AAR eve "Flower | when Hower is one word inside title 3] element Labrie |="Value"™| C title f="fower | Wwoen__t\tle_Stast_ ‘iulthh Space 4€ eparaied /) separated Flower word eleers thew Gi oe C title As hjowertt] | wren Geie steak itt, -BOWer wyoyd lower aH net b& — 5) elemeny [ tite = "ower! | : (Bue rks Stowe!) —_— “TP iareo Bower wierd a ceured commlonere_ “Vke to A lay oe _separared 44 space sadle ce (cite ase 7 CSS Fe: Faxms + Style place ment. |_in_ Elements, Ctnline. PS TT Laement style = "Proper 2 Values”> —--- petty =p state ent elahss ani TE “this _methad is least us | becatue it lease yeusable Q)|_External_ style _ Snead> : link rel ="stylsheer" “href = Ww style css” > head ieee tedy 2 $ackground=coldy ¢ grey; font size 7 130% 5 | Tn tis method tema} dling wc reference 1S given sith {tak thig_methed jc used #n real alarld apo! on lc usefull when there are lots af_ Pages See of — heet is Uses| ap + D) Head styes—sivle with