CodePen

HTML

            
              <h1>Rounded inside body border</h1>
            
          
!
via HTML Inspector

CSS

            
              * { box-sizing: border-box; }
html { height: 100%; }
body { min-height: 100%; }
body {
  border: 25px solid;
  border-image: 
    url(http://s.cdpn.io/3/border-tv_1.png) 25% repeat;
  text-align: center;
  line-height: 2;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................