Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
</head>
<body>
<!-- Content -->
<div id="triangle1"></div>
<div id="bar"></div>
<div id="triangle2"></div>
<!-- JavaScript -->
<script type="text/javascript">
</script>
</body>
</html>
 
    
    body {
        background-color: #000;
    }
    #triangle1 {
        position: relative;
        top: 313px;
        left: 74px;
        margin: auto;
        width: 0;
        height: 0;
        border-bottom: 10px solid #aef;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        transform: rotate(45deg);
    }
    #triangle2 {
        position: relative;
        top: 451px;
        right: 74px;
        margin: auto;
        width: 0;
        height: 0;
        border-top: 10px solid #aef;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        transform: rotate(45deg);
    }
    #bar{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 10px;
        height: 200px;
        background-color: #aef;
        transform: rotate(45deg);
    }
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers