Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <p>
    <span class="outline1" style="border: 10px solid yellow; border-image: none;">
      <span style="border: 20px solid blue; border-image: none;">
        <span style="border: 30px solid orange; border-image: none;">
          foo
        </span>
      </span>
    </span>
  </p>
  <p id="p2">
    <span class="outline1" style="border: 10px solid yellow; border-image: none;">
      <span style="border: 20px solid blue; border-image: none;">
        <span style="border: 30px solid orange; border-image: none;">
          foo
        </span>
      </span>
    </span>
  </p>
  <p id="p3">
    <span class="outline1" style="border: 10px solid yellow; border-image: none;">
      <span style="border: 20px solid blue; border-image: none;">
        <span style="border: 30px solid orange; border-image: none;">
          foo
        </span>
      </span>
    </span>
  </p>
  <p id="p4">
    <span class="outline1" style="border: 10px solid yellow; border-image: none;">
      <span style="border: 20px solid blue; border-image: none;">
        <span style="border: 30px solid orange; border-image: none;">
          foo
        </span>
      </span>
    </span>
  </p>
  <p id="p5">
    <span class="outline1" style="border: 10px solid yellow; border-image: none;">
      <span style="border: 20px solid blue; border-image: none;">
        <span style="border: 30px solid orange; border-image: none;">
          foo
        </span>
      </span>
    </span>
  </p>
  </body>
</html>
 
.outline1 {
    outline: 5px solid green;
}
p {
    background: wheat;
    font-size: 26px;
    padding: 10px;
    margin: 80px;
}
span, p {
  -webkit-transform: rotate(2deg) translateX(10px);
  transform: rotate(2deg) translateX(10px);
}
  
  
#p2 .outline1 { outline-offset:10px;}
#p3 .outline1 { outline-offset:22px;}
#p4 .outline1 { outline-offset:-10px;}
#p5 .outline1 { outline-offset:-100px;}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers