Inherits this property from its parent element. Permalink to comment July 24, Here is a list of all five keywords and their equivalent values:. Присоединяйтесь к нам и помогите сделать эту работу! Demo This demo includes examples of one value, two value, three value, and four value background-position. Как сделать рамку со скругленными уголками?
This is a heading Because the image has a z-index of -1, it will be placed behind the text. Value Description CSS background-color Specifies the background color to be used 1 background-image Specifies ONE or MORE background images to be used 1 background-position Specifies the position of the background images 1 background-size Specifies the size of the background images 3 background-repeat Specifies how to repeat the background images 1 background-origin Specifies the positioning area of the background images 3 background-clip Specifies the painting area of the background images 3 background-attachment Specifies whether the background images are fixed or scrolls with the rest of the page 1 initial Sets this property to its default value. How can I accomplish that? Permalink to comment December 30, You can only do this if you're exclusively using keywords, though. Copyright by Refsnes Data. Feel free to use our contact form.
css - How to keep background image on bottom left even scrolling - Stack Overflow
Things get a little trickier when you start using three or four values, but you also get more control over your background placement. If you need to position a background-image in CSS 20px from the left and 10px from the top, that's easy. Permalink to comment February 27, This comment thread is closed.
This is a heading
Description: For instance if we want the background to be on the right but with 10px offset we could set a border-right: You must also specify at least one of top , right , bottom or left for sticky positioning to work. Sets this property to its default value. Internet Explorer 8 and earlier versions do not support multiple background images on one element.