4.边框内圆角 - 图1

    1. .container{
    2. width: 230px;
    3. height: 93px;
    4. background: #655;
    5. padding: 10px;
    6. }
    7. .container div{
    8. background: tan;
    9. border-radius: 10px;
    10. padding: 15px;
    11. color: #ffffff;
    12. }

    II

      .container{
            background: tan;
            border-radius: .8em;
            padding: 1em;
            box-shadow: 0 0 0 .6em #655;
            outline: .6em solid #655;
            width: 230px;
            height: 93px;
        }
        注: box-shadow 投影的扩张值不能小于 (根号2-1)*outline值