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>
  <div class="block1">
    <div class="block2"></div>
  </div>
</body>
</html>
 
.block1 {
  height: 50px;
  width: 50px;
  background-color: red;
  padding: 25px;
}
.block2 {
  height: 50px;
  width: 50px;
  display: none;
  background-color: blue;
  
}
.block1:hover .block2 {
    display: block;
}
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers