Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <style>
    body, div { color: rgb(6,6,6) }
  </style>
</head>
<body>
  <iframe style="display:none" src="about:blank"></iframe>
  <script>
    var frame = document.querySelector('iframe');
    frame.contentDocument.open();
    frame.contentDocument.write("<style>body, div { color: rgb(9,9,9) }</style><body style='display: none'><div>Text</div>");
    frame.contentDocument.close();
    onload = function() {
      document.body.appendChild(document.createTextNode(getComputedStyle(frame.contentDocument.querySelector("div")).color));
    } 
  </script>  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers