Webkit background position. gif'); background-repeat: no-repeat; background-position-x: center; } 亲自试一试 例子 2 如何将 CSS background-position Property Topic: CSS3 Properties Reference Prev | Next Description The background-position CSS property sets the initial position (i. The following table summarizes the usages context and the version history of this property. Dec 17, 2012 · This update discusses the 1,522 WebKit changes that landed in the past two weeks, up to revision 137871. 375 I think the answer is no, but can you position a background image with CSS, so that it is a fixed amount of pixels away from the right? If I set background-position values of x and y, it seems those only give fixed pixel adjustments from the left and top respectively. I'm working on a custom animation that is basically a large background image with a 3D carousel that selects the main image + background image. origin) of the element's background-image. gif'); background-repeat: no-repeat; background-position-x: center; } 亲自试一试 例子 2 如何将 Dec 16, 2025 · The background-size CSS property sets the size of the element's background image. The position is relative to the position layer set by background-origin. In these chapters, you will learn about the following CSS background properties: background-color background-image background-repeat background-attachment background-position background (shorthand property) background-position CSS 属性为每一个背景图片设置初始位置。这个位置是相对于由 background-origin 定义的位置图层的。 Aug 26, 2005 · WebKit can also even handle border-image on inline flows like spans and links. The background-position property sets the starting position of a background image. pltdfticvfvulvtdyksgfzpvkwgltiplrmxucgsdptyrd