|
 |
11³â Àü
|
ºê¶ó¿ìÀúº° ÇÙ Á¤¸®
1. Internet Explorer CSS Hack (ÀÎÅÍ³Ý ÀͽºÇ÷η¯ ÇÙ)
[ IE6 ÇÙ ]
/* for IE6 */
*html .someClass {color:red}
[ IE7 ÇÙ ]
/* for IE7 */
*:first-child + html .someClass {color:red}
[ IE7 inline ÇÙ ]
/* inline IE7 CSS */
.someElement {
color:blue; /* all browsers */
*color:red
}
[ IE8 inline ÇÙ ]
/* inline IE8 CSS */
.someElement {
color:crimson; /* all browsers */
color:black\0/ !important; /* IE 8 */
}
[ IE9 ÇÙ ]
/* IE9 CSS */
:root .someElement { color:green\0/IE9; }
2. Firefox Only CSS Hack (ÆÄÀÌ¾îÆø½º Àü¿ë ÇÙ)
/* FireFox 3 and Up */
html>/**/body .someClass, x:-moz-any-link, x:default {left:1em}
3. Chrome and Safari CSS hack (Å©·Ò, »çÆÄ¸® ÇÙ)
@media screen and (-webkit-min-device-pixel-ratio:0)
{
.someElement {margin:1em}
}
|
|
̵̧ : 631 |
̵̧
¸ñ·Ï
|
|