Working with CSS Backgrounds

A website must have a compatible and attractive background colors and images with content of the website to make it standout. Today we are discussing about CSS properties for backgrounds.

We can set different background properties either with single shorthand property or can use these properties separately. Firstly we are going to show you an example of setting different CSS background properties in the single line with space between values.

background: #ffffff url(path_to_image) top left no-repeat fixed;

Or you can set the background attachment, color, image, position, and repeat separately. Here is a example,, you can also set other properties individually in similar fashion.

background-color: #ffffff;

Related posts

No Response

Post your response

Copyright © 2010 - 2014 Handy CSS Designed By Anotix, Powered By WordPress, all right reserved.