how do you code it to create simultaneous inner and outer shadows? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how do you code it to create simultaneous inner and outer shadows?

27th Sep 2016, 4:01 PM
Kevin Gorman
3 Answers
+ 5
box-shadow: 5px 5px 10px #009, other shadows /* just use comma*/
27th Sep 2016, 7:39 PM
HawkEye
HawkEye - avatar
+ 2
Actually.. Box-shadow: inset 10px 10px 5px #000, 10px 10px 5px #000; First one is inner, second is outer shadow. But you have to use the comma inbetween.
1st Nov 2016, 8:27 AM
Miroslav Mihok
Miroslav Mihok - avatar
+ 1
use negative number for offsets.
31st Oct 2016, 5:28 PM
KiynL
KiynL - avatar