مرکزی مواد پر جائیں
Tools Star Hub

CSS سایہ جنریٹر

آفسیٹ، دھندلاہٹ، پھیلاؤ اور رنگ مقرر کریں، پھر CSS box-shadow قدر کاپی کریں۔

ٹول لوڈ ہو رہا ہے…

یہ ٹول آپ کے براؤزر میں چلتا ہے۔ ان پٹ، فائلیں اور بنائی گئی ویلیوز اسی ڈیوائس پر رہتی ہیں۔ پسندیدہ اور حال ہی میں استعمال شدہ ٹولز، اگر آپ انہیں استعمال کریں، لوکل اسٹوریج میں صرف ٹولز کے نام محفوظ کرتے ہیں — کبھی پاس ورڈ، دستاویزات یا QR کا مواد نہیں۔ رازداری کی پالیسی دیکھیں۔

اس ٹول کی تفصیلی رہنمائی (استعمال کا طریقہ، مثالیں اور عام سوالات) فی الحال انگریزی میں ہے۔

What this tool does

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.

How to use

  1. Adjust horizontal and vertical offset, blur, spread, color and opacity.
  2. Turn on inset if you want an inner shadow.
  3. Copy the CSS. The preview uses the same values.

Examples

  • A soft drop shadow

    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.2);

How it works

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.

Limitations

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.

FAQ

Is the Box Shadow Generator free?
Yes. Tuning one CSS box-shadow and copying the declaration is free, with no signup.
Can I stack several shadows?
This version generates one shadow. You can combine copied values manually in your stylesheet if you need layers.
Are the pixel values rounded?
Offsets, blur, and spread become whole pixels in the copied CSS. A fractional slider position does not stay fractional.
Does inset change the color?
Inset only draws the shadow inside the box. Color and opacity stay at the values you set.