Thuộc tính background-image repeating-linear-gradient trong CSS

Thuộc tính background-image repeating-linear-gradient trong CSS

Thuộc tính background-image repeating-linear-gradient trong CSS

Tự code rồi chạy thử... Chạy Thử
<!DOCTYPE html>
<html>
<head>
<title>Thuộc tính background-image repeating-linear-gradient trong CSS</title>
<style>
#divbg{
  height: 200px;
}
</style>
</head>
<body>
<h1>Thuộc tính background-image repeating-linear-gradient trong CSS</h1>
<p>Background lặp lại các khối màu tuyến tính</p>
<div id="divbg" style="background-image: repeating-linear-gradient(red, yellow 10%, green 20%);"></div>
</body>
</html>
Thuộc tính background-image repeating-linear-gradient trong CSS nằm trong bài viết Thuộc tính background-image trong CSS