U Prefixr sam upisao ovo:
box-sizing: border-box;
background: linear-gradient(to bottom, white, black);
i dobio sam ovo:
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
background: -webkit-linear-gradient(to bottom, white, black);
background: -moz-linear-gradient(to bottom, white, black);
background: -o-linear-gradient(to bottom, white, black);
background: -ms-linear-gradient(to bottom, white, black);
background: linear-gradient(to bottom, white, black);
Kao prvo, nikada nije postojalo -ms-box-sizing
IE8 i noviji podržavaju box-sizing bez prefiksa -ms-
IE7 i stariji ne podržavaju box-sizing ni s prefiksom ni bez njega
-ms-box-sizing je izmišljotina koja samo nepotrebno povećava CSS.
Kao drugo, sve ovo je pogrešno:
background: -webkit-linear-gradient(to bottom, white, black);
background: -moz-linear-gradient(to bottom, white, black);
background: -o-linear-gradient(to bottom, white, black);
background: -ms-linear-gradient(to bottom, white, black);
umjesto “to bottom” treba biti “top”
Kao treće, nedostaje verzija za Android 2.3.3 i starije (najkorišteniji Androidi)
background: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
Zaključak: ne bi se trebalo previše pouzdati u Prefixr.
Pogotovo ne početnici.
Edit:
Ako upišem
background: -webkit-linear-gradient(top, white, black);
dobijem
background: -webkit-linear-gradient(top, white, black);
background: -moz-linear-gradient(top, white, black);
background: -o-linear-gradient(top, white, black);
background: -ms-linear-gradient(top, white, black);
background: linear-gradient(top, white, black);
Opet greška: background: linear-gradient(top, white, black);
i opet bez verzije koja bi radila na starijem Androidu.