الصفحة الرئيسية
تحميل الكود
تغيير الألوان
تغيير العرض
تغيير حجم العرض
تشغيل الكود
<!DOCTYPE html> <html> <head> <style> .gradient-top { height: 100px; background: red; background: repeating-conic-gradient(at top, red, blue, yellow 20deg); } .gradient-right { height: 100px; background: red; background: repeating-conic-gradient(at right, red, blue, yellow 20deg); } .gradient-bottom { height: 100px; background: red; background: repeating-conic-gradient(at bottom, red, blue, yellow 20deg); } .gradient-left { height: 100px; background: red; background: repeating-conic-gradient(at left, red, blue, yellow 20deg); } .gradient-center { height: 100px; background: red; background: repeating-conic-gradient(at center, red, blue, yellow 20deg); } </style> </head> <body> <h1>Repeating Conic Gradient Position</h1> <p>background: repeating-conic-gradient(at top, red, blue, yellow 20deg);</p> <div class="gradient-top"></div> <p>background: repeating-conic-gradient(at right, red, blue, yellow 20deg);</p> <div class="gradient-right"></div> <p>background: repeating-conic-gradient(at bottom, red, blue, yellow 20deg);</p> <div class="gradient-bottom"></div> <p>background: repeating-conic-gradient(at left, red, blue, yellow 20deg);</p> <div class="gradient-left"></div> <p>background: repeating-conic-gradient(at center, red, blue, yellow 20deg);</p> <div class="gradient-center"></div> </body> </html>