text on gallery style change 

original code from http://geekgirllife.com/place-text-over-images-on-hover-without-javascript/