More Related Content Similar to HTML5 e Css3 - 4 | WebMaster & WebDesigner (20) More from Matteo Magni (20) HTML5 e Css3 - 4 | WebMaster & WebDesigner5. Text-shadow outline
● Outline Rudimentale
#shadow1 {color:white;fontsize:20px;
textshadow:0px 1px 1px blue, 1px 0px 1px blue,1px 0px
1px blue,0px 1px 1px blue,
1px 1px 1px blue,
1px 1px 1px blue,
1px 1px 1px blue,
1px 1px 1px blue;
}
10. Punto di partenza
● top
● top left
● top right
● bottom
● bottom left
● bottom right
● left
● right
12. Offeset
● si definisce pure il valore di offset (0%).
● può essere espresso in forma decimale con
una scala che va da 0.0 a 1.0.
● E' il punto in cui il colore deve apparire
14. Regole proprietarie
#gradient2 {
background: mozlineargradient(top, #1e5799 0%,
#7db9e8 100%); /* FF3.6+ */
background: webkitgradient(linear, left top, left
bottom, colorstop(0%,#1e5799), color
stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: webkitlineargradient(top, #1e5799
0%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: olineargradient(top, #1e5799
0%,#7db9e8 100%); /* Opera 11.10+ */
background: mslineargradient(top, #1e5799
0%,#7db9e8 100%); /* IE10+ */
}