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>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  
  #hello {
    margin: 20px; padding: 20px;
    display:block; width:200px; height:100px;
    background:rgb(30,200,200);
    border:5px solid rgb(200,200,300);
    opacity:1;
    -webkit-transition:opacity 1s linear, height 0.5s ease-in-out 0.5s, display 0 linear 1s;
    -moz-transition:opacity 1s linear, height 0.5s ease-in-out 0.5s, display 0 linear 1s;
    -o-transition:opacity 1s linear, height 0.5s ease-in-out 0.5s, display 0 linear 1s;
    transition:opacity 1s linear, height 0.5s ease-in-out 0.5s, display 0 linear 1s;
  }
  
  #hello.hidden{
    opacity:0;
    height:50px;
    display:none;
  }
  
  
</style>
</head>
<body>
  <div id="hello"></div>
  <button id="hide">Hide/show Box</button>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers