title: How to make round corners to both inside of a box and its border?
body: <p>I guess the title is kind of hard to understand, so I'll explain.
  I am trying to achieve this effect:</p>
  
  <p><img src="https://i.stack.imgur.com/S3ZSK.png" alt="enter image description here"></p>
  
  <p>(a box which has rounded corners and its border, which also has rounded borders).</p>
  
  <p>I've managed to do this, by using the <code>background-clip</code> property:</p>
  
  <p><img src="https://i.stack.imgur.com/slXp5.png" alt="enter image description here"></p>
  
  <p>(rounded corners for border but <strong>not</strong> for inner box)</p>
  
  <p>The question is, how can I achieve rounded corners for the inner box?</p>
  
  <p>Thank you!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The HTML I am using:</p>
  
  <pre><code>&lt;header class="body template-bg template-border radius-all"&gt;
          &lt;nav&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Link 2&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Link 4&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/nav&gt;
      &lt;/header&gt;
  </code></pre>
  
  <p>And the CSS:</p>
  
  <pre><code>.radius-all {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
  }
  
  .template-bg {
    background: #FFF;
    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background-clip: padding-box;
  }
  
  .template-border {
    border: 5px solid rgba(255, 255, 255, 0.2);
  }
  </code></pre>