CodePen

HTML

            
              <p>We can take advantage of being able to apply CSS to the <code>&lt;html&gt;</code> element to skip the wrapper <code>div</code> and keep our markup clean!</p>
            
          
!

CSS

            
              :root {
  background-color: cornflowerblue;
  padding: 3em;
}

body {
  background-color: white;
  padding: 1.5em;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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