Note that there are some explanatory texts on larger screens.

plurals
  1. POcan't figure out the right hover effect
    primarykey
    data
    text
    <p>I have made 3 buttons on my page that shows an img. I want the image to be shown when people get over the button cald HTML, CSS or JS &amp; Jquery. But the problem is that when you hover over the image, (that you can't see yet), you can see it aswell.</p> <p>This is my website where I use it: <a href="http://rdv-design.com/stageverslag2/home.html" rel="nofollow">My School Report.</a></p> <p>When you get over the Tie, a box shows up. Scroll down and you can see the buttons.</p> <p>Here is the HTML code I use for 1 of the buttons:</p> <pre><code>&lt;div id="vlek4"&gt; &lt;div id="jsandjq"&gt;&lt;img src="img/js&amp;jq.png" width="576" height="104" /&gt;&lt;/div&gt; &lt;/div&gt; </code></pre> <p>Here is the css code I use for 1 of the buttons:</p> <pre><code>#vlek4{ background-image:url(../img/vlek4.png); background-repeat:no-repeat; position:absolute; top:980px; left:600px; width:163px; height:113px; -webkit-transition-duration: 1.2s; -moz-transition-duration: 1.2s; -o-transition-duration: 1.2s; transition-duration: 1.2s; } #vlek4:hover{ position:absolute; left:542px; width:; height:; } #vlek4 #jsandjq{ position:absolute; top:150px; left:-460px; width:163px; height:113px; opacity:0; } #vlek4:hover #jsandjq{ position:absolute; top:150px; left:-460px; width:163px; height:113px; opacity:1; -webkit-transition-duration: 0.8s; -moz-transition-duration: 0.8s; -o-transition-duration: 0.8s; transition-duration: 0.8s; } #vlek4:hover #jsandjq:hover img{ display:none; visibility:hidden;} </code></pre> <p>Vlek4 stands for the JS &amp; Jquery button. jsandjq stands for the image that gets shown.</p> <p>Anyone has an idea what I am doing wrong here? The problem shows up in Chrome.</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload