CodePen

HTML

            
              <div class="box">
  box
</div>

<b class="box2"></b>

<div class="result">
    
</div>

            
          
!
via HTML Inspector

CSS

            
              .box {
  border: 3px solid black;     
}

.box2 {     
  border: 3px solid black;  
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              var result = "box :" + $(".box").css("border");
result += "<br/><br/>box2:" + $(".box2").css("border");
result += "<br/><br/>DOM :" + window.getComputedStyle($(".box2")[0], null).getPropertyValue("border-left-width");

$(".result").html(result);

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