+ 2

[Solved] 50% width css box shadow

by default, box-shadow adds shadow for 100% width, I want to show shadow of border only 50% width at the bottom, I tried but I couldn't do it, please help. Code link: https://code.sololearn.com/W1vfT4MM17h6/?ref=app

4th Sep 2020, 5:18 AM
Bibek Oli
Bibek Oli - avatar
3 ответов
+ 5
Not a better solution, but just another way to achieve the visual effects you were looking for. https://code.sololearn.com/WnauzkxEqms3
4th Sep 2020, 6:03 AM
Fermi
Fermi - avatar
+ 7
https://code.sololearn.com/Wg451h8p7vn9/?ref=app reference: https://www.sololearn.com/learn/CSS/2257/
4th Sep 2020, 5:46 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 4
You cannot set half box shadow, use pseodo element https://code.sololearn.com/WRWWo1mJ6f90/?ref=app
4th Sep 2020, 5:59 AM
Calviղ
Calviղ - avatar