《css 揭秘》

by Fannie

HTML

<div class='div0'>
    边框内圆角
  </div>

CSS

body {
	background: #000;
}

.div0 {
    width:10rem;
    height:8rem;
    background:tan;
    padding:1rem;
    outline:0.6rem solid #655;
    box-shadow:0 0 0 0.4rem #655;
    border-radius:0.8rem;
    margin:10rem auto;
}