CodePen

HTML

            
              <span class="npm">Node Packaged Modules</span>
<!--

--------------------------------------
NOTE! Firefox, IE9+ and Opera 12 only!
--------------------------------------

Also, not perfect: 2 "pixels" missing from P letter so there is still room for improvement here.

Chrome/Webkit lacks support for... uh, I guess ::first-letter styling.

-->
            
          
!
via HTML Inspector

CSS

            
              /* resets we need */
html,body { height: 100%; margin: 0; padding: 0; }

/* remove white space between inline-block elements */
body {
  background: #212121;
  font-size: 0;
  text-align: center;
}

/* restore font size in all root elements in body */
body > * {
  font-size: medium;
}

/* yay for vertical alignment tricks */
body:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.npm {
  border-bottom: 10px solid #CB3837;
  color: transparent;
  display: inline-block;
  font-size: 0.01px;
  height: 70px;
  line-height: 20px;
  margin: 0 90px 0 60px;
  position: relative;
  vertical-align: middle;
  white-space: nowrap;
}

.npm::first-letter {
  background: white;
  border: 10px solid #CB3837;
  margin: 0 -100px 0 -20px;
  padding: 0 0 50px 160px;
}

.npm::before {
  border-left: 10px solid #CB3837;
  border-right: 30px double #CB3837;
  content: '';
  margin: 0 -140px 0 -40px;
  padding: 0 0 40px 90px;
  position: relative;
  top: 10px;
}

.npm::after {
  background: #CB3837;
  background-clip: content-box;
  border-left: 10px solid #CB3837;
  border-right: 10px solid #CB3837;
  content: '';
  display: block;
  height: 30px;
  margin: -11px -20px 0 0;
  padding: 10px 10px 12px 20px;
  position: relative;
  width: 10px;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              // http://css-tricks.com/forums/discussion/24808/a-random-saturday-css-challenge
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................