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