A community around web development.
View community info
Creating a box-shadow on only one side of an element
Posted by /u/JingJunMa 5 months ago

Creating a box-shadow on only one side of an element

For those of you out there who are looking to learn how to create a one-sided shadow effect to an element in CSS. First I recommend using a site like getcssscan (beautiful css shadow examples) to find a shadow style you like. You won't be able to create a better looking box-shadow on your own, trust me. Next what you're looking for is clip-path. This will give you the clean one-...

1 0Share

webdev

/c/webdev
Load more