Thuộc tính background-repeat repeat-x trong CSS

Trình soạn thảo - Thuộc tính background-repeat repeat-x trong CSS

Kết quả - Thuộc tính background-repeat repeat-x trong CSS

Tự code rồi chạy thử... Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Thuộc tính background-repeat repeat-x trong CSS</title>
<style>
body {
  background-image: url("https://webmoi.vn/thumuc/bg-nho.jpg");	
}
</style>
</head>
<body style="background-repeat: repeat-x;">

<h1>Thuộc tính background-repeat repeat-x trong CSS</h1>

<p>Background lặp theo chiều ngang:</p>

</body>
</html>