Skip to content

Instantly share code, notes, and snippets.

@rlebek
Created April 26, 2012 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlebek/2503278 to your computer and use it in GitHub Desktop.
Save rlebek/2503278 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
form div {
position: relative;
display: inline-block;
}
input:focus + .info {
display: inline-block;
position: relative;
left: 10px;
z-index: 1;
}
div.info {
display: none;
}
<form name="test" name="test" method="get">
<div>
<input class="input" type="text" name="text" value="">
<div class="info">
hello world
</div>
<div>
<div> <input class="input" type="text" name="text" value="">
<div class="info">
hello world
</div>
<div>
</form>
{"view":"separate","fontsize":"70","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment