Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<style>
  body {
  margin:0;padding:0;background-color:white;
  /*background-image: url("https://picsum.photos/300/400");
  background-repeat:no-repeat;
  background-size:cover;*/
  color: white;
  font-weight:bold;
  font-size:1em;
}
  .header {
  top:0;
  left:0;
  height: 50px;
  width:100%;
  background-color:rgba(90,0,90, .2);
  position:absolute;
  }
  .footer {
  bottom:0;
  right:0;
  height: 50px;
  width: 100%;
  background-color: rgba(0,90,90, .4);
  position:absolute;
  }
  .cropper {
  width: 90%;
  padding-bottom: 50.625%;
  top:50%;left:50%;transform: translate(-50%, -50%);position:absolute;
  outline-style: solid;outline-width:10000px; border: 4px solid white;border-radius: 4px;outline-color:rgba(0, 0, 0, .6)
}
.cropperWrapper {
  width:100%;
  padding: 10px;
  background: transparent;
  box-sizing: border-box;
  resize: none;
  border: 5px dotted;
  overflow: auto;
  max-width: 100%;
  height: calc(100vh);
}
</style>
</head>
<body>
<div class="cropperWrapper">
  <div class="header">
  <div style="float:left">X</div>
  <div style="float:right">Toggle Switch</div>
  </div>
  <div class="cropper"></div>
  <div class="footer">
  <div style="text-align:center">Camera Button</div>
  <div style="float:right">Toggle Camera Face</div>
  </div>
</div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
prem911pro
0viewers