參考內容推薦

Understand CSS Background Position with 4 Simple Examples

The CSS background position property allows you to place a background image at any position within an element.

background-position - CSS

The background-position property in CSS allows you to move a background image (or gradient) around within its container.

background-position-x - CSS: Cascading Style Sheets

2 天前 · The background-position-x CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by ...

background-position - CSS: Cascading Style Sheets

3 天前 · The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set ... Try it · Syntax

Background-position- 金魚都能懂的CSS必學屬性

background-position 預設是以左上角為起點,如果我們把畫面分割成X 與Y 軸,X 代表水平軸,方向則是由左至右為正數,反之在左側往左側移動則為負數。

How to center an specific (x,y) point of a background image to a ...

I have read that in order to place a background image inside a container block in CSS you can use the background-position property. And you can ...

CSS background-position property

The background-position property sets the starting position of a background image. Tip: By default, a background-image is placed at the top-left corner of an ... CSS background-position-x... · Try it Yourself · Show demo

CSS background-position-y property

The background-position-y property sets the position of a background image on the y-axis. Tip: By default, a background-image is placed at the top-left corner ...

CSS的背景屬性background-position

CSS的背景屬性background-position,主要用來定位背景圖片的位置。 background-position的數值分成三種表示方式:關鍵字、像素、百分比. 關鍵字:background-position:top ...

cssbackgroundimageposition

TheCSSbackgroundpositionpropertyallowsyoutoplaceabackgroundimageatanypositionwithinanelement.,Thebackground-positionpropertyinCSSallowsyoutomoveabackgroundimage(orgradient)aroundwithinitscontainer.,2天前·Thebackground-position-xCSSpropertysetstheinitialhorizontalpositionforeachbackgroundimage.Thepositionisrelativetothepositionlayersetby ...,3天前·Thebackground-positionCSSpropertysetstheinitial...