Nickyd Posted June 29, 2022 Share Posted June 29, 2022 Site URL: http://www.dalmanpressurewashing.com last week I had figured out a way to add a boxshadow/dropshadow to images in a list but accidently deleted the code and I completely forgot what I did If you use .list-item { filter: drop-shadow(5px 5px 5px #000000); } You can add a drop shadow to a list image but it also adds one to the text and button I only want the shadow on the image. There isn't one resource on the internet I can find. I totally forgot how I did it before please help I am pulling my hair out because it's so simple but I just can't remember. This is a question about LIST IMAGES NOT REGULAR IMAGES Link to comment
ghemachandar Posted June 29, 2022 Share Posted June 29, 2022 Can you try this code?: .list-item .list-item-media{ filter: drop-shadow(5px 5px 5px #000000);} The list-item-media class ensures that the property applies only to the images. Nickyd 1 Hire me Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment