1

http://jsfiddle.net/pCeGu/

See JsFiddle above. Note the itty bitty arrow that pops under the buttons. Is it possible to make that thing fade in/out with the other elements?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Cameron C
  • 366
  • 3
  • 15

2 Answers2

2

Per this question: CSS :after hover Transition

Apparently Firefox 4 is the only browser that currently supports the transitioning of pseudo elements:(

Community
  • 1
  • 1
quoo
  • 6,237
  • 1
  • 19
  • 36
2

Consider using a unicode graphical character with some absolute positioning as part of your link, instead of using :after.

See: What characters can be used for up/down triangle (arrow without stem) for display in HTML?

Community
  • 1
  • 1
Diodeus - James MacFarlane
  • 112,730
  • 33
  • 157
  • 176
  • any idea how to pass unicode into the content attribute of the after pseudo element? – Cameron C Jun 19 '12 at 20:23
  • You have to use an escaped reference to the unicode value: http://alanhogan.com/tips/css/special-characters-in-generated-content but I think you'll run into the same problem that you cannot transition pseudo elements if you put it in ::after. I think Diodeus is suggesting you put a unicode character in your markup. – quoo Jun 19 '12 at 20:38
  • That is what I am suggesting. Put an absolutely-positioned element containing the unicode character inside your current element. – Diodeus - James MacFarlane Jun 19 '12 at 20:47