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 class="container">
    
    <div class="row">
      
      <div class="col-5">
        
        Lorem ipsum
      </div>
      
      <div class="col-7 ">
         <img class="img-fluid" src="https://placeimg.com/640/480/nature/sepia"/>
      </div>
      
    </div>
    
  </div>
  
  
  
<script src="https://code.jquery.com/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
 
</body>
</html>
 
.container {
  position: relative;
}
.img-col {
  position: fixed;
  right: 0px;
  width: 100%;
  top: 0;
}
.img-fluid {
  width: 100%;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers