PrivTab

Kitengeneza kivuli cha kisanduku cha CSS

Tengeneza kivuli cha kisanduku cha CSS

Inafanya kazi ndani ya kivinjari chako · Hakuna kupakia

Zana hii na maelekezo kwenye ukurasa huu bado ni kwa Kiingereza kwa sasa. Inafanya kazi vilevile: kila kitu kinafanya kazi ndani ya kivinjari chako.

Shadow layers
Box and background
Ready-made
  • Hakuna kinachoondoka kwenye kifaa chako
  • Hakuna kikomo cha ukubwa kutoka kwa seva
  • Hakuna kujisajili, hakuna alama maji
  • Bure

How to make a box shadow

  1. Start from a ready-made shadow, or adjust the sliders.
  2. Add layers: a tight shadow plus a wide, soft one looks most natural.
  3. Copy the CSS.

Tips

  • Low opacity (8 to 20%) and a negative spread give soft, modern shadows.
  • Inset shadows look pressed in, for inputs and toggles.
  • Change the box and background colors to see the shadow on your own design.

Maswali yanayoulizwa mara kwa mara

Does box-shadow slow down a page?

Rarely. Very large blurs on many moving elements can, so keep animated shadows simple.

Is anything uploaded?

No. The preview is drawn by your browser.