تولیدکننده Box Shadow در CSS
مقادیر box-shadow در CSS را بهصورت دیداری بسازید. در لحظه پیشنمایش بگیرید و CSS تولیدشده را کپی کنید.
box-shadow: 0px 8px 16px 0px #00000033;
نحوه استفاده از این ابزار
- 1
Drag the X offset and Y offset sliders (each from -50px to 50px) to move the shadow horizontally and vertically.
- 2
Adjust the Blur slider (0px to 100px) to soften the edges, and the Spread slider (-50px to 50px) to grow or shrink the shadow.
- 3
Pick a shadow color with the color swatch; the live preview square updates as you change any control.
- 4
Copy the generated box-shadow declaration from the output box at the bottom and paste it into your stylesheet.
تولیدکننده Box Shadow در CSS چیست؟
ویژگی box-shadow در CSS جابهجایی افقی، جابهجایی عمودی، شعاع محو (blur)، شعاع گسترش (spread) و رنگ را میپذیرد. میتوان چند سایه را روی هم چید تا جلوههای لایهای ساخت. این تولیدکننده دیداری CSS را برای هر ترکیبی تولید میکند: مفید برای دکمهها، کارتها و جلوههای عمق.
موارد استفاده رایج
Designing a soft elevation shadow for buttons or cards, then tuning Y offset and blur until the depth looks right.
Prototyping a Material-style shadow by stacking the value this tool outputs with a second hand-written shadow.
Generating a tight, low-blur shadow with negative spread for a crisp focus or hover state.
Getting an exact box-shadow string to paste into a Tailwind arbitrary value, CSS module, or inline style.
Teaching the difference between blur and spread by dragging each slider and watching the preview react.
Quickly matching a shadow from a design mockup by eyeballing offsets against the live preview square.
پرسشهای متداول
چگونه چند سایه را روی هم بچینم؟▼
تفاوت بین محو (blur) و گسترش (spread) چیست؟▼
ابزارهای مرتبط
تبدیلکننده رنگ (HEX/RGB/HSL)
رنگها را بین قالبهای HEX، RGB و HSL تبدیل کنید. رنگی را بهصورت بصری انتخاب کنید یا مقادیر را بهصورت دستی وارد کنید.
مولد گرادیان CSS
گرادیانهای خطی و شعاعی CSS بسازید. رنگها را بهصورت بصری انتخاب کنید و CSS تولیدشده را کپی کنید.
مولد منحنی شتابگیری Cubic Bezier
منحنیهای شتابگیری cubic-bezier برای CSS بسازید. شامل پیشتنظیمهای استاندارد است.
تولیدکننده پالت رنگ
از هر رنگ پایه، پالتهای رنگی هماهنگ تولید کنید. از طرحهای مکمل، متشابه، سهتایی و تکرنگ پشتیبانی میکند.
تولیدکننده Border Radius در CSS
مقادیر پیچیده border-radius در CSS را بهصورت دیداری بسازید. کنترل مستقل روی هر گوشه.
تولیدکننده ()CSS Clamp
مقادیر CSS سیال و واکنشگرا را با clamp() تولید کنید. بهنرمی بین اندازههای کمینه و بیشینه در بازههای viewport مقیاس میگیرد.