Go to this link and write your css on the left and view it on the right. Works great if you playing around with an idea and not in front of a computer. You can do it from your smart phone.
http://www.w3schools.com/css/tryit.asp?filename=trycss_background-attachment






















