나는 국경 반경의 사용뿐만 아니라 상자 그림자
아무튼 '를 만드는 사업부가 modernizr.js가 기본적으로이를 지원합니까?
당신이 ID = "테스트"
<div id="test">
Hello HTML5 CSS3
</div>
와 싶은 스타일 당신은 다음과 같은 CSS를 제공 할 수 있습니다 사업부 있다고 가정합시다.
div#test{
height: 50px;
width: 200px;
border: 1px solid #CCC;
}
.borderradius div#test {
border-radius: 4px 4px 0 0;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
}
.no-borderradius div#test {
/*add style rules for css2 here*/
}
.boxshadow div#test {
box-shadow: #666 1px 1px 1px;
-moz-box-shadow: #666 1px 1px 1px;
-webkit-box-shadow: #666 1px 1px 1px;
}
.no-boxshadow div#test {
/*add style rules for css2 here*/
}