body {
    min-height: 3000px;
}
.element {
    width: 200px;
    height: 200px;
    background-color: #fe8;
    position: absolute;
    z-index: 6;
    border: 30px solid grey;
}
.element.tether-element-attached-bottom {
    border-bottom-color: black;
}
.element.tether-element-attached-top {
    border-top-color: black;
}

.target {
    width: 300px;
    height: 50px;
    width: 30%;
    margin: 0 35%;
    background-color: #4e9;
    border: 10px solid transparent;
}

.target.tether-target-attached-bottom {
    border-bottom-color: black;
}
.target.tether-target-attached-top {
    border-top-color: black;
}

.container {
    height: 600px;
    overflow: scroll;
    width: 600px;
    border: 20px solid #CCC;
    margin-top: 100px;
}

body {
    height: 1000px;
}

body > .container {
    position: absolute;
    left: 600px;
    top: 0;
}

.pad {
    height: 400px;
    width: 100px;
}

.tether-out-of-bounds.element {
    -display: none;
}
