Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <header id="fixed-me">menu</header>
  <div id="container"></div>
</body>
</html>
 
body {
  font-size: 14px;
  font-family: "Arial Regular", "Arial", "微軟正黑體";
  -webkit-transform:translate3d(0, 0, 0);
  -moz-transform:translate3d(0, 0, 0);
  
}
#fixed-me {
  background: #eee;
  border-bottom: 1px solid red;
  position: fixed;
  height: 100px;
  width: 100%;
  top: 0;
}
#container {
 min-height: 3000px;
 background: tan;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers