Its still not a complete solution, since you still have to repeat yourself into re-entering the content twice. Shame theres no easy way of letting style and markup communicate, without repetition.
@DrRhoxus Well, its easy to do this if you´re using a serverside language. Just fetch the same data in both data-text and in the h1 or div or whatever.
Who to make working on Firefox?
JuanEscobarOrg 7 months ago
do it with a title attr. cause you need it for SEO anyway right.
Nejo31P 11 months ago
instead of having the fallback as a color can we make it an image?
andrewoc15 11 months ago
Thanks!
Elron4u 11 months ago
Great tutorial!
HKSarkdog 11 months ago
CSS is getting difficult to learn ((
hayk7 11 months ago
@hayk7 Kinda, but this trick is not really necessary to use. And besides, you get hang of it when you do it more often :)
krisu0100 11 months ago
@krisu0100 yeah but , trick is really good )
hayk7 11 months ago
@hayk7 Which means you should feel fortunate that you are willing to learn :)
coppurt 11 months ago
Nice, with that you can large numbers of items, like menu items, or title tags.
LastRoseStudios 11 months ago
Its still not a complete solution, since you still have to repeat yourself into re-entering the content twice. Shame theres no easy way of letting style and markup communicate, without repetition.
DrRhoxus 11 months ago
@DrRhoxus Well, its easy to do this if you´re using a serverside language. Just fetch the same data in both data-text and in the h1 or div or whatever.
JesperA86 11 months ago
Thank you for that and thank you for all the tutorials in general! They've been really helpful! Cheers!
SterKostas 11 months ago