This is sort of what my attempt at making the <dfn> title appear on mobile looks like
In a previous post (pictured above) I wrote how I would like to enable mobile users to read the title text in the <dfn> tags. I didn’t mention that I also thought I could also use it on the <abbr> tags.
Anyhoo… This is what I did.
First I edited my CSS to allow the <dfn> tag itself to highlight the word so the user knows they can poke it:
I am not happy with placement, it hangs off to the left. I played around with the position property with limited success. Ideally I would make it pop up above the word it is defining and not to the left beneath the users hand.
Some time down the track I think a better understanding of the CSS positioning and the pseudo-elements may help me work out the positioning problem. Unless you have any better ideas?
I’ve added an email comment link to my posts, go ahead and tell me where I can improve this.
I got back into Broken Hill on Saturday night and slept like the dead. That journey home absolutely kills. Yesterday I just loved being home. Having a shower in my own shower, eating with Re & H on the couch, watching some telly and going to bed. In my own freaking …