Jump to content

Recommended Posts

I'm using clip-path to create this section divider. I wanted to add a shadow effect on the 6 sides of this section. I tried box shadow but it couldn't show the shadow on the sides of the section divider. The image below is the shadow effect that i wanted to create on my section divider.

<section style=" clip-path: polygon(0 0, 50% 100px, 100% 0, 100% 100%, 0 100%);box-shadow: inset 0 0 10px 0 black;margin-top: -10px;padding-bottom: 3rem;background-color: #ffffff;">
    <div class="container">
        <div class="row">
        </div>
    </div>
</section>

Can someone show a helping hand here, cuz i have been figuring this out since forever. It will be a great help!

image.png.f7115730c2294092de8f79fac473cb7b.png

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.