css background-repeat property
Translation results:
background
UK[ˈbækgraʊnd] US[ˈbækˌɡraʊnd]
n. (painting, etc.) background; background color; background information; soundtrack
Plural: backgrounds
repeat
英[rɪˈpi:t] 美[rɪˈpit]
vt. Repeat; retell, recite
vi.Redo; repeat voting
n.Repetition; (program) reenactment; repeated things
Third person singular: repeats Plural: repeats Present participle: repeating Past tense: repeated Past participle: repeated
css background-repeat propertysyntax
How to use the background-repeat attribute?
The background-repeat attribute in CSS is used to set how the background image is tiled. background-repeat:repeat-x; means that only the horizontal position will repeat the background image; background-repeat:repeat-y; means that only the vertical position will repeat the background image.
Function: Set whether and how to repeat the background image.
Description: The background-repeat attribute defines the tiling mode of the image. Repeat starting from the original image, which is defined by background-image and placed according to the value of background-position .
Note: The attribute value "inherit" is not supported in any version of Internet Explorer (including IE8).
css background-repeat propertyexample
<html> <head> <style type="text/css"> body { background-image: url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg); background-repeat: repeat-y } </style> </head> <body> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- Go Context — TODO() vs Background() No more confusing!
- How JavaScript Works in the Background: Understanding Its Single-Threaded Nature and Asynchronous Operations
- Bitcoin (BTC) Price Prediction: Will History Repeat Itself or a Breakout Above $68000 Is Underway?
- Will Bitcoin (BTC) History Repeat Itself and Send Solana (SOL) and Rollblock (RBLK) on a Rally?