A community around web development.
View community info
Creating a box-shadow on only one side of an element
Posted by /u/JingJunMa 1 month 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-...

0Share

Community info

webdev

Community rules

This community follows the standard community rules.

  1. Be respectful.
  2. No harrassment.
  3. No spamming.
  4. No affiliate links.
  5. Self-promotion is allowed, however follow these rules.