CodePen

HTML

            
              <html>
<body>

  <div id="ContentRow" class="row Blue">I'm ContentRow and only 50px</div>
  </body>
</html>
            
          
!
via HTML Inspector

CSS

            
              body {
  background-color:red;
}

#ContentRow {
  height:50px;
  position:relative;
  border:1px solid #000000;
}


.Blue {
  background-color:blue;
}

.row {
color:red;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
if($('#ContentRow').hasClass('row Blue')) {
 $("body").addClass("Blue");

}
  
 


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