Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not sure why it does this. Whenever you add a property to the <code>:first-letter</code> psuedo class, the animation won't work anymore.</p> <p>The <code>:first-letter</code> psuedo class seems to cancel the previous hover.</p> <p><strong><a href="http://jsfiddle.net/GjxCk/31/" rel="nofollow">jsFiddle</a></strong></p> <p>As you can see whenever the psuedo class is being active, it will cancel any previous :hover (the transition in this case).</p> <p>So in your case i doesn't even execute your animation</p> <p>I don't why this happens, it seems like a new bug of previous big:</p> <p><code>:first-letter</code> psuedo class doesn't work when it is followed by a class or pseudo-class (e.g. div:first-letter:hover). <br /> It seems it is the other way around now? </p> <p>theory is that whenerver there is a pseudo-class before the <code>:first-letter</code> it won't work. It might be that a <code>:hover</code> pseudo-class is not seen as "generated content".</p> <blockquote> <p>When the :first-letter and :first-line pseudo-elements are applied to an element having content generated using :before and :after, they apply to the first letter or line of the element including the <strong>generated content</strong>.</p> </blockquote> <p>source : <a href="http://www.w3.org/TR/CSS2/selector.html#before-and-after" rel="nofollow">http://www.w3.org/TR/CSS2/selector.html#before-and-after</a></p> <p>That way the <code>:hover</code> is not being shown.</p> <p><hr /> I looked at several documentations and couldn't find any <em>other</em> relation between the animation, keyframes, tranformation, first-letter psuedo-class. Excpect between the hover puedo-class and first-letter psuedo-class that might not interact with each other in IE.</p> <hr /> <h2>TL;DR</h2> <p>It's most likely a bug. <br /> Your <code>:first-letter</code> psuedo-class isn't working with the <code>:hover</code> psuedo-class of the parent element. the <code>:hover</code> psuedo-class that will not be shown, thus your animation is not loaded.</p> <h2>Work around</h2> <p>You could just place the content directly in your HTML and wrap the first letter into a span:</p> <pre><code>&lt;div style="width:160px;height:300px;float:right;"&gt; &lt;a href="kapcsolat.html" class="animated menu5"&gt; &lt;span&gt;K&lt;/span&gt;apcsolat &lt;/a&gt; &lt;/div&gt; </code></pre> <p>Where you add a style when the anchor is hovered:</p> <pre><code>.menu5:hover &gt; span { color: black; } </code></pre> <p><strong><a href="http://jsfiddle.net/GjxCk/40/" rel="nofollow">jsFiddle</a></strong></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