CodePen

HTML

            
              <p>This is small-caps.</p>

<p>THIS IS REGULAR CAPS.</p>
            
          
!

CSS

            
              p {
  font-size: 20px;
  padding: 0 20px;
  font-variant: small-caps;
}


            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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