I want to know the information about the CSS conditions position. What is the singular syntax use to define CSS background position?
Any suggestion?
I want to know the information about the CSS conditions position. What is the singular syntax use to define CSS background position?
Any suggestion?
1) Following properties are use for CSS background position.
body
{
background-image:url('sample.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
}
2) The background position property is an old CSS property that was consider in a time when the web was not all that visual. You can have a background image repeat vertically (y-axis), horizontally (x-axis), in both directions, or in neither direction.
Bookmarks