jQuery animate border color on hover? -


Experiment to animate the background color on the hover.

  $ (function () ($ ('.listing-2 li a'). Mouseover (function () {$ (this) .animate ({backgroundColor: "# 0e7796"}, 'Fast');}); $ ('.listing-2 li a') .mouseout (function () {$ (this) .animate ({backgroundColor: "# d6f2c5"}, 'sharp');}); });  

How do I do this for border color?

found in Google

  $ ('listing-2a one '). Mouseover (function () {$ (this). Permission ({borderTopColor: "# 0e7796"}, 'Sharp');}); $ ('.list-2 li a') Mouseout (function () {$ (this). Value ({border color: "#fff"}, 'sharp');});  

This should be "border color" (or left, right, bottom) instead of "border color".


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -