fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)fu ([staff profile] fu) wrote,
@ 2012-04-16 12:28 am UTC
  • Previous Entry
  • Add to Memories
  • Tell someone about this!
  • Next Entry
What's the Deal with :target in CSS?


Here's a neat effect to mark out the currently linked-to comment item. Put this in your journal's CSS:




Then switch which comment is currently active by editing the #cmt... at the end of the URL.

I have custom comments turned off in my journal, so here's a demo of :target in action on a separate page.

Note: not currently useful for anything because we don't link to our comments this way -- but still kinda neat!


(4 comments) - (Post a new comment)
(Flat) (Top-level comments only)

foxfirefey: Fox stealing an egg. (mischief)


[personal profile] foxfirefey
2012-04-16 02:28 am UTC (link)
Fancyyyyy

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2012-04-16 03:41 am UTC (link)
Fancy no Javascript!

(Reply to this)  (Thread from start)  (Parent


stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (ʟΙͺΙ’Κœα΄›Ι΄ΙͺΙ΄Ι’ sα΄›Κ€α΄œα΄„α΄‹ Κœα΄‡Κ€ Κœα΄‡α΄€Κ€α΄›)


[personal profile] stormy
2012-04-16 02:58 am UTC (link)
Oh man, I love the transitions. I've been playing around with them on my layout recently. ♥

(Reply to this)  (Thread


fu: Close-up of Fu, bringing a scoop of water to her mouth (fu)


[staff profile] fu
2012-04-16 03:42 am UTC (link)
They are almost hypnotic aren't they? *G*

(Reply to this)  (Thread from start)  (Parent



(4 comments) - (Post a new comment)
(Flat) (Top-level comments only)