Joined January 2014
·

Kelsey Nealon

canada
·
·

Nevermind, got it to work.

Also, could this possibly work if the text that was inside of the div, was set a responsive size (ie: textcontainer { width: 50%; height: 50%; position: absolute; top: 5%; left 5%; background-color: grey; })? And if so, would there be a way for this to auto-resize the text as the user was re-sizing their browser window?

Thanks for your time!

Hey, I'm new to JS and I've never heard of Coffeescript to be honest. I am having the same problem you were having and this solution seems perfect to me. I have tried to put your Javascript version in to script tags at the bottom of my page and it still doesn't work. If it is JavaScript compiled does that mean I have to add something extra somewhere in my HTML page? Or maybe you could tell me how to add the coffeescript version to my page? As I am not so sure how to do that either.
Thanks a million,

Achievements
1 Karma
0 Total ProTip Views