Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div>
    </div>
  
</body>
</html>
 
div {
  position: relative;
  width: 200px;
  height: 100px;
  background: red;
}
div::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 5px;
  width: 15px;
  height: 3px;
  background: white;
  transform: rotate(-45deg);
}
div::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 5px;
  width: 15px;
  height: 3px;
  background: white;
  transform: rotate(45deg);
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers