Comment puis-je ajouter une bordure 1px solid rgba(255,255,255,0.6)
, 5px
à l'intérieur la suivante fieldset
?Comment puis-je ajouter une bordure à l'intérieur de cet élément?
résultat devrait être quelque chose comme ceci:
Je ne ai besoin que cela soit compatible avec Chrome dernier, Firefox dernier et IE 9.
est ici un JSFiddle, et mon code actuel :
HTML
<fieldset> </fieldset>
CSS
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;
}
La hauteur et la largeur sont inconnus. Je viens de les ajouter ici pour remplir le fieldset
.
Bonne réponse! Comme j'avais déjà le '