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.

1
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.

1
background-color: #ffffff;


Related posts

No Response

Post your response

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