Loading...
Thinking about creating a portfolio? why not impress your visitors with a nice responsive full screen background image.
Related Posts:
The majority of people would achieve this effect by implementing jquery and a third party plug-in. The code I'm about to explain is just CSS which delivers the same results. The code looks like this.
The interesting CSS attribute we are using is "Background-Size:Cover", this attribute scales the image to the smallest size such that both its width and its height can fit inside the content area.
Try it out for yourself, feel free to post up your examples in the comments area below.
Copyright © . All Rights Reserved