.btn {
display: inline-block;
height: 21px; width: 130px;
line-height: 22px;
background: #f9bb42; /* Old browsers */
background: -moz-linear-gradient(top, #f9bb42 0%, #f1dd38 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9bb42), color-stop(100%,#f1dd38)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f9bb42 0%,#f1dd38 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f9bb42 0%,#f1dd38 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #f9bb42 0%,#f1dd38 100%); /* IE10+ */
background: linear-gradient(to bottom, #f9bb42 0%,#f1dd38 100%); /* W3C */
-pie-background: linear-gradient(to bottom, #f9bb42, #f1dd38); /* LOOK AT THIS EVERYBODY*/
border: solid 1px #e99a03;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: inset 0 0 6px rgba(51, 8, 0, 0.37);
-moz-box-shadow: inset 0 0 6px rgba(51, 8, 0, 0.37);
box-shadow: inset 0 0 6px rgba(51, 8, 0, 0.37);
position: relative;
behavior: url(../../css/PIE.htc);
}
我的按钮的这种风格。
问题对我来说很奇怪。在添加-pie-background属性之前,我可以看到边界半径,从我添加-pie-background到代码的那一刻起,我看不到边框半径,或者在背景中看起来很粗糙。当然,这都是关于ie8,9 ...
的显示