الصفحة الرئيسية
تحميل الكود
تغيير الألوان
تغيير العرض
تغيير حجم العرض
تشغيل الكود
<!DOCTYPE html> <html> <head> <style> .gradient-0deg { height: 100px; background: #00188F; background: linear-gradient(0deg, #00188F, #EC008C); } .gradient-45deg { height: 100px; background: #00188F; background: linear-gradient(45deg, #00188F, #EC008C); } .gradient-90deg { height: 100px; background: #00188F; background: linear-gradient(90deg, #00188F, #EC008C); } .gradient-135deg { height: 100px; background: #00188F; background: linear-gradient(135deg, #00188F, #EC008C); } .gradient-180deg { height: 100px; background: #00188F; background: linear-gradient(180deg, #00188F, #EC008C); } .gradient-225deg { height: 100px; background: #00188F; background: linear-gradient(225deg, #00188F, #EC008C); } .gradient-270deg { height: 100px; background: #00188F; background: linear-gradient(270deg, #00188F, #EC008C); } .gradient-315deg { height: 100px; background: #00188F; background: linear-gradient(315deg, #00188F, #EC008C); } </style> </head> <body> <h1>Linear Gradient Angle</h1> <p>background: linear-gradient(0deg, #00188F, #EC008C);</p> <div class="gradient-0deg"></div> <p>background: linear-gradient(45deg, #00188F, #EC008C);</p> <div class="gradient-45deg"></div> <p>background: linear-gradient(90deg, #00188F, #EC008C);</p> <div class="gradient-90deg"></div> <p>background: linear-gradient(135deg, #00188F, #EC008C);</p> <div class="gradient-135deg"></div> <p>background: linear-gradient(180deg, #00188F, #EC008C);</p> <div class="gradient-180deg"></div> <p>background: linear-gradient(225deg, #00188F, #EC008C);</p> <div class="gradient-225deg"></div> <p>background: linear-gradient(270deg, #00188F, #EC008C);</p> <div class="gradient-270deg"></div> <p>background: linear-gradient(315deg, #00188F, #EC008C);</p> <div class="gradient-315deg"></div> </body> </html>