مولّد تدرجات CSS
أنشئ تدرجات CSS خطية أو شعاعية أو مخروطية أو نصًا متدرجًا، وانسخ CSS أو HTML.
اضبط الإزاحة والتمويه والانتشار واللون، ثم انسخ قيمة box-shadow في CSS.
تعمل هذه الأداة في متصفحك. تبقى المدخلات والملفات والقيم الناتجة على هذا الجهاز. تحفظ المفضلة والأدوات المستخدمة مؤخرًا، إن استخدمتها، أسماء الأدوات فقط في التخزين المحلي، ولا تحفظ أبدًا كلمات المرور أو المستندات أو محتوى رموز QR. راجع سياسة الخصوصية.
الدليل المفصّل لهذه الأداة (طريقة الاستخدام والأمثلة والأسئلة الشائعة) متوفر بالإنجليزية حاليًا.
Tune one CSS box-shadow and copy the declaration, with a preview that uses the same numbers. Use it when a card or a button needs a drop shadow or an inset shadow. Offsets, blur, and spread become whole pixels, and stacked shadows have to be combined in your stylesheet.
box-shadow: 0 8px 24px rgba(15, 39, 68, 0.2);
Offset shifts the shadow. Blur softens the edge. Spread grows or shrinks the shadow before blur. Opacity is applied as RGBA. The preview and the copied CSS use the same computed value.
The generator writes a single box-shadow. Comma-separated layers are not assembled for you. Offsets, blur, and spread are rounded to whole pixels, and a color the parser rejects yields no declaration. The preview is a sample box, not an element from your page.
See the disclaimer for what these tools do not cover.
أنشئ تدرجات CSS خطية أو شعاعية أو مخروطية أو نصًا متدرجًا، وانسخ CSS أو HTML.
صغّر CSS داخل متصفحك مع الحفاظ على النصوص والروابط والتعليقات المهمة والمسافات ذات المعنى.
حوّل ألوان hex المكوّنة من 3 أو 6 أو 8 خانات إلى RGB وRGBA وHSL داخل متصفحك.
نسّق JSON ليسهل قراءته أو صغّره أو تحقّق من صحته. التعليقات والفواصل الزائدة في النهاية وعلامات الاقتباس المفردة غير مسموحة. لا يحوّل إلى CSV.
رمّز النص إلى Base64 أو فكّ ترميزه باستخدام UTF-8. يستطيع أي شخص فك الترميز، لذا لا يخفي كلمة المرور. لا تُقبل الملفات.
أنشئ قيمة UUID v4 واحدة أو أكثر داخل متصفحك باستخدام مصدر عشوائي آمن.
0px
8px
24px
0px
0.2
Offset moves the shadow. Blur softens the edge. Spread grows or shrinks the shadow before blur.
Opacity controls how strong the color appears. Inset draws the shadow inside the box.
box-shadow: 0 8px 24px 0 rgba(15, 39, 68, 0.2);