| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| div { |
| width: 100px; |
| height: 100px; |
| } |
| |
| #linear { |
| background-image: linear-gradient(transparent, rgb(0, 0, 255)); |
| } |
| |
| #linear-repeating { |
| background-image: repeating-linear-gradient(transparent, rgb(0, 0, 255) 25px); |
| } |
| |
| #radial { |
| background-image: radial-gradient(transparent, rgb(0, 0, 255)); |
| } |
| |
| #radial-repeating { |
| background-image: repeating-radial-gradient(transparent, rgb(0, 0, 255) 25px); |
| } |
| |
| #conic { |
| background-image: conic-gradient(transparent, rgb(0, 0, 255)); |
| } |
| |
| #conic-repeating { |
| background-image: repeating-conic-gradient(transparent, rgb(0, 0, 255) 30deg); |
| } |
| |
| </style> |
| </head> |
| <body> |
| <div id="linear"></div> |
| <div id="linear-repeating"></div> |
| <div id="radial"></div> |
| <div id="radial-repeating"></div> |
| <div id="conic"></div> |
| <div id="conic-repeating"></div> |
| </body> |
| </html> |