FANDOM


(Created page with "Why not pure CSS?<pre>.hint { display: none; background-color: black; margin: 5px auto; width: 200px; } .field:hover .hint { display: block; }</pre><br><pre><div class="field"...")
 
 
Line 2: Line 2:
 
.field:hover .hint { display: block; }</pre><br><pre><div class="field">[[File:TESV- SKYRIM.jpg]]
 
.field:hover .hint { display: block; }</pre><br><pre><div class="field">[[File:TESV- SKYRIM.jpg]]
 
<div class="hint">Hello World!</div></div>
 
<div class="hint">Hello World!</div></div>
Some other text.</pre>You can even add in that fade-in.
+
Some other text.</pre>You can even add a fade-in.

Latest revision as of 17:11, March 14, 2013

Why not pure CSS?
.hint { display: none; background-color: black; margin: 5px auto; width: 200px; }
.field:hover .hint { display: block; }

<div class="field">[[File:TESV- SKYRIM.jpg]]

<div class="hint">Hello World!</div></div>

Some other text.
You can even add a fade-in.
Community content is available under CC-BY-SA unless otherwise noted.