Tagged: x
-
AuthorPosts
-
October 26, 2016 at 9:22 am #1231566
AmadeusParticipantHello
I have this picture that is supposed to change to a second one on hover or mouse over. it works fine in safari or chrome but somehow doesn’t seem to work on firefox browser.
What could be the reason it doesn’t function in firefox?
thanks in advance,
amadeusthe page:
http://www.amadesigns.ch/amadeus_schneider_portfolio/work.html/about/the custom css i used:
.portrait_a:hover
{content: url(http://www.amadesigns.ch/amadeus_schneider_portfolio/wp-content/uploads/2016/09/portrait_amadeus_schneider_2016_move_b.png);
z-index: 999;
width: 100%;
}the shortcode for the image:
[image class=”portrait_a” src=”http://www.amadesigns.ch/amadeus_schneider_portfolio/wp-content/uploads/2016/09/portrait_amadeus_schneider_2016_move_a.png” alt=”portrait_a”]
October 26, 2016 at 11:12 am #1231750
RupokMemberHi there,
It seems you are using
contentproperty that should be used for::beforeor::afterpseudo element. So your code won’t work on every browser as it’s not yet supported. You can use as background image or in pseudo element.Hope this makes sense.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1231566 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
