«   2018/12   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Archives
Today
148
Total
1,189,511
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

css hack 본문

FrontEnd/CSS

css hack

푸른바람 C/H 2014.03.04 13:20

참고



#hack{
	color:red; /* All browsers */
	color:red !important;/* All browsers but IE6 */
	_color:red; /* Only works in IE6 */
	*color:red; /* IE6, IE7 */
	+color:red;/* Only works in IE7*/
	*+color:red; /* Only works in IE7 */
	color:red\0/;  /* Only works in IE8 */
	color:red\9; /* IE7, IE8 */
	color:red\0; /* IE8, IE9 */
	color:red\9\0;/*Only works in IE9*/
}
*  #hack { /* IE6 */
	color:#ff0000;
}
*+ html #hack { /* IE7 */
	color:#ff0000;
}
#ie8#hack{ /* Double ID bug IE8 */
	color:green; 
}
@media \0screen { /* IE8 */
	#hack {
		color:black; 
	} 
}
. ie10 #hack{
	color:red; /* Only works in IE10 */
}
 /* Contidion */

	Here goes code for IE only



	Code for all browsers except for IE:


'FrontEnd > CSS' 카테고리의 다른 글

부트스트랩 +iconmoon  (0) 2015.07.06
Div, Text 중앙, 가운데 정렬  (0) 2015.04.10
css hack  (0) 2014.03.04
CSS odd & even rules  (0) 2010.08.11
네비게이션 링크  (0) 2009.04.24
웹 표준 경진대회 & CSS PLAYGROUND  (0) 2009.03.16
Tag
, , , ,
공유하기 링크
0 Comments
댓글쓰기 폼