+ 2

How can I add a shadow inside a box?

I know that box-shadow:; can add a outside shadow but what's for the inside?

13th Jun 2017, 6:26 AM
André
André - avatar
2 Antworten
+ 6
box-shadow: inset 2px 4px 5px 2px rgba(0,0,0,0.3); The inclusion of the word "inset" puts the box-shadow inside the box. ^-^
13th Jun 2017, 6:42 AM
Femyk
Femyk - avatar
+ 2
Thanks! Femyk
13th Jun 2017, 6:44 AM
André
André - avatar