๐Ÿ“œ โฌ†๏ธ โฌ‡๏ธ

Why CSS3 is worse than messing with IE6 bugs

I remember the times when we had nothing but CSS2.1. The CSS3 standard seemed like an impossible dream, opening the door to the world of simple coding and free evenings, and IE6 was the devil who turned our work into hell with its quirks and a free attitude to standards. How naive we were.

image


')

Code explosion


, CSS3 css-, . background-image , , . css โ€” , . , ?

, , Webkit Firefox - , . , , CSS3, โ€” . , :

/* : */
background:url("...") left top repeat-y;

/* : */
background:#FEF3D1;
background:-moz-linear-gradient(top, #FFF1CC, #FDF5D5);
background:-webkit-gradient(linear,0 0,100% 0,from(#FFF1CC),to(#FDF5D5));
-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#FFF1CC, endColorstr=#FDF5D5)";
filter: progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#FFF1CC, endColorstr=#FDF5D5);


FF 3.6+, Safari/Chrome IE5.5+. . , .

, css3 , , , . .


. , , , . css3- โ€” , . , Firefox , , , .

, ( ..), Safari Firefox . . , , โ€” , .

css3 โ€” . , , css, . โ€” , , . Css3- , .


, css3-. , , โ€” .

, Firefox , (?) Webkit. โ€” css3-. .


. css3 , . , ยซ ยป , , IE6, . โ€” . developer-, , , .

, , IE6 ( IE6 CSS Fixer), css3-. , , .

Source: https://habr.com/ru/post/92348/


All Articles