1px solid rgba(255,255,255,0.6)
국경을 5px
안에 어떻게 추가 할 수 있습니까? 다음은 fieldset
입니까?이 요소 내부에 테두리를 추가하려면 어떻게해야합니까?
나는 단지이 9
가 여기 JSFiddle, 내 현재 코드의 크롬 최신 파이어 폭스 최신, 그리고 IE와 호환 가능해야합니다
결과는 다음과 같이해야한다 :
HTML
fieldset
{
background: #3AA0BD;
background: -moz-linear-gradient(top, #3AA0BD 0%, #06446E 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3AA0BD), color-stop(100%,#06446E));
background: -webkit-linear-gradient(top, #3AA0BD 0%,#06446E 100%);
background: -o-linear-gradient(top, #3AA0BD 0%,#06446E 100%);
background: -ms-linear-gradient(top, #3AA0BD 0%,#06446E 100%);
background: linear-gradient(to bottom, #3AA0BD 0%,#06446E 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3AA0BD', endColorstr='#06446E',GradientType=0);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
display: inline-block;
padding: 20px;
/* temp */
height: 60px;
width: 500px;
}
높이와 폭
CSS는 알려져 있지 않다. 방금 fieldset
을 작성하기 위해 여기에 추가했습니다.
좋은 답변입니다! '