インセットに明るい色のボーダーインセットを使用しようとしていますが、選択した色が正しく表示されないだけです。これはすべてのブラウザで同じです
css は次のとおりです。最初のボックスの境界線は明るく、2 番目のボックスは少し暗くする必要があります。
ここでフィドル:CSSインセットボーダーフィドル
.box1 {
display: inline-block;
border: 4px inset #f7f7f7;
margin-top: 16px;
border-radius: 12px;
height: 34px;
background:#fff;
width:230px;
position:relative;
padding:10px;
}
.box2 {
display: inline-block;
border: 4px inset #cccccc;
margin-top: 16px;
border-radius: 12px;
height: 34px;
background:#f7f7f7;
width:230px;
position:relative;
padding:10px;
}
border-color 要素を個別に設定してみましたが、違いはありません
非常に奇妙な行動?