Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <div class="circulo" tabindex="0">
    <div class="circulo--informacoes">Umas informações</div>
  </div>
  <div class="circulo--label">Clique para mais informações</div>
</body>
</html>
 
.circulo, .circulo--informacoes {transition: all 1s;}
.circulo {
  background-color: yellow;
  height: 16px; width: 16px;
  border-radius: 100%;
  overflow: hidden;
  outline: none;
}
.circulo--informacoes {opacity: 0;}
.circulo:focus {width: 64px; height: 64px; padding: 64px;}
.circulo:focus .circulo--informacoes {opacity: 1;}
/* Para colocar legenda*/
.circulo, .circulo--label{display: inline-block;}
.circulo:focus + .circulo--label {display: none;}
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers