Selectorii secundari sunt incluşi în selectorii principali, şi treaba lor este să “picteze” puţin mai mult designul paginii tale. Selectorii secundari, în documentul CSS, pot fi scrişi în forma selector:selector secundar { valori }
Sunt destule protocoale (valori sau chiar stiluri de aplicare) în structura CSS, care nu sunt acceptate sau recunoscute de toate browserele, dar vă ofer câteva pe care le puteţi aplica fără grijă, pentru că sunt în regulă :
- link - se foloseşte pentru linkurile nevizitate
- visited - ăşta îl folosim pentru linkurile de pe o pagină care sunt deja vizitate
- active - îl folosim pentru linkurile pe care tocmai s-a facut click
- hover - ăsta va fi folosit pentru linkuri atunci cand este îndepărtat clickul de pe link.
Şi un cod CSS ca să fedem despre ce e vorba :
a.moscraciun:link {
color: blue;
}
a.moscraciun:visited {
color: purple;
}
a.moscraciun:active {
color: red;
}
a.moscraciun:hover {
text-decoration: none;
color: blue;
background-color: yellow;
}
Aceste mici chestiuţe te ajută să prezinţi interesanta ta pagină web, vizitatorului, cu o particularizare deloc de ignorat. Despre selectorul secundar “hover” nu pot să spun decât că mai bine îl omiţi, desigur nu e obligatoriu, dar e bine de ştiut că cu cât este mai simplistă activitatea userului ce navighează pe pagina ta cu atât mulţumirea e mai mare, şi la o adică tu alegi
Deobicei pentru linkuri avem culoarea albastra, iar pentru cele vizitate browserelel majoritatea afişează violet. Ceea ce scrii tu în cod, va modifica aceste generalităţi, deci ţi-am spus asta ca nu cumva să vrei sa folosesti aceste culori şi să pui in cod valorile astea , pt că dacă le omiţi adică nu scrii nimic pentru aceste selectoare se cundare, proprietăţile textului vor fi cele “default”.
![header=[] body=[andrew.cornett posted a photo:
Just squeezed out this HTML email in about an hour or so thanks to MailChimp!. ReadyTech HTML Email] andrew.cornett posted a photo:
Just squeezed out this HTML email in about an hour or so thanks to MailChimp!. ReadyTech HTML Email](http://farm4.static.flickr.com/3004/3048902260_14465ef17e_s.jpg)
![header=[] body=[Toni Panayotov posted a photo:
The first concept for the homepage of a school project. Client: Mambo Lounge Nightclub San Francisco CA. mambo_lounge] Toni Panayotov posted a photo:
The first concept for the homepage of a school project. Client: Mambo Lounge Nightclub San Francisco CA. mambo_lounge](http://farm4.static.flickr.com/3251/3047025017_eeef7db1e9_s.jpg)
![header=[] body=[tractorpirate posted a photo:
. www.m7lives.com] tractorpirate posted a photo:
. www.m7lives.com](http://farm4.static.flickr.com/3167/3046291353_4670b108ae_s.jpg)
![header=[] body=[comsodesign88 posted a photo:
planning on a new business card, so im starting to create som mock ups... business card mock up] comsodesign88 posted a photo:
planning on a new business card, so im starting to create som mock ups... business card mock up](http://farm4.static.flickr.com/3030/3046910170_5298b8d0e0_s.jpg)
![header=[] body=[SprittiBee posted a photo:
Who's scared? Looks like he is more than I am.. l-n-c2] SprittiBee posted a photo:
Who's scared? Looks like he is more than I am.. l-n-c2](http://farm4.static.flickr.com/3219/3046074967_077a125c2c_s.jpg)
![header=[] body=[tracystone posted a photo:
Website Design and development for Teahouse Media.
teahousemedia.com. Teahouse Media Website Design] tracystone posted a photo:
Website Design and development for Teahouse Media.
teahousemedia.com. Teahouse Media Website Design](http://farm4.static.flickr.com/3054/3046020827_68efee7d31_s.jpg)
![header=[] body=[Noah and Cat posted a photo:
In the next few months, life and time willing, I plan on starting a news website for the canal community in England, Ireland, Scottland and Wales. This is an in-progress design mock-up of where I'm headed. I'm not quite sure what to do with the bottom bit yet but I'm browsing other news sites for ideas.
The content right now is purely artificial. In most spots anyway.. Towpath Telegraph (In Progress)] Noah and Cat posted a photo:
In the next few months, life and time willing, I plan on starting a news website for the canal community in England, Ireland, Scottland and Wales. This is an in-progress design mock-up of where I'm headed. I'm not quite sure what to do with the bottom bit yet but I'm browsing other news sites for ideas.
The content right now is purely artificial. In most spots anyway.. Towpath Telegraph (In Progress)](http://farm4.static.flickr.com/3183/3045738255_8a8bd11d30_s.jpg)
![header=[] body=[jpguarin posted a photo:
Nueva pagina de VSP*
www.vsp.com.co. www.vsp.com.co] jpguarin posted a photo:
Nueva pagina de VSP*
www.vsp.com.co. www.vsp.com.co](http://farm4.static.flickr.com/3159/3045426395_e83cb3f50f_s.jpg)
![header=[] body=[kpucu.com posted a photo:
Redesign for www.bgstar.eu. BgStar.EU redesign] kpucu.com posted a photo:
Redesign for www.bgstar.eu. BgStar.EU redesign](http://farm4.static.flickr.com/3056/3045346683_ac042695e2_s.jpg)


