CSS Neumorphism Generator

لونمطور
إعلان · حذف؟

الطرازات المسبقة


اللون الأساسي

The background color of both the element and its surroundings

الشكل


Shadow

How far the shadows extend from the element
Contrast between light and dark shadows
Direction the light source comes from (degrees)
معاينة مباشرة
إعلان · حذف؟

مرشد

CSS Neumorphism Generator

CSS Neumorphism Generator

Build soft, extruded “neumorphic” UI elements without hand-tuning two opposing box-shadows. Pick a base color, choose a shape (flat, concave, convex, or pressed), drag the sliders for distance, intensity, blur, and light angle, then copy the generated CSS straight into your project.

كيفية استخدام

  1. Pick a background color. The same color is used for the element and the surrounding canvas — that is what makes neumorphism work.
  2. Choose a shape: مستوي, Concave (subtle dip in), Convex (subtle pop out), or إدراج (pressed in).
  3. تعديل مسافة و Light Angle to set the shadow direction.
  4. Tune شدة و التباعد until the surface feels right.
  5. Copy the CSS, or toggle إظهار **HTML** و **CSS** for a paste-ready snippet.

خصائص

  • العرض المباشر — every slider change updates the rendered element instantly.
  • Five built-in presets — Soft Light, Strong Light, Soft Dark, Strong Dark, and Pressed.
  • Auto-derived shadow colors — light and dark shadows are mathematically lightened/darkened from your base color so the effect always matches.
  • Concave and convex gradients — the tool generates a matching linear gradient for the element’s surface in those modes.
  • Inset (pressed) mode — for buttons that look “pushed in” on click.
  • Light angle control — rotate the virtual light source from 0° to 360°.
  • Copy-ready CSS — clean output with both the box-shadow declaration and the surface background.

التعليمات

  1. What is neumorphism?

    Neumorphism (also called soft UI) is a visual style where elements appear to extrude from or sink into the background. It is achieved with two box-shadows of equal blur — one lighter shadow on the side facing the light and one darker shadow on the opposite side — both rendered against a background of the same color as the element itself.

  2. Why does the element have to share the background color?

    Neumorphism relies on the illusion that the shape is part of the same surface as the background. If the element uses a different color it stops looking like an extrusion and instead reads as a flat tile with two random shadows, which breaks the effect.

  3. Are neumorphic interfaces accessible?

    They have well-known accessibility trade-offs. Because all elements share the background color, contrast against text and other UI is often very low, which can fail WCAG contrast requirements and confuse screen-magnifier users. Use neumorphism for decorative surfaces and keep critical interactive elements high-contrast.

  4. How is the light angle related to the shadow offsets?

    The two shadow offsets are derived from the light angle using basic trigonometry: offsetX = cos(angle) × distance, offsetY = sin(angle) × distance. The opposite shadow is placed at the negated offsets so the light and dark sides always sit on opposite edges, matching where a real light source would cast them.

هل تريد حذف الإعلانات؟ تخلص من الإعلانات اليوم

تثبيت ملحقاتنا

أضف أدوات IO إلى متصفحك المفضل للوصول الفوري والبحث بشكل أسرع

أضف لـ إضافة كروم أضف لـ امتداد الحافة أضف لـ إضافة فايرفوكس أضف لـ ملحق الأوبرا

وصلت لوحة النتائج!

لوحة النتائج هي طريقة ممتعة لتتبع ألعابك، يتم تخزين جميع البيانات في متصفحك. المزيد من الميزات قريبا!

إعلان · حذف؟
إعلان · حذف؟
إعلان · حذف؟

ركن الأخبار مع أبرز التقنيات

شارك

ساعدنا على الاستمرار في تقديم أدوات مجانية قيمة

اشتري لي قهوة
إعلان · حذف؟