Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9268153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:44:13+00:00 2026-06-18T14:44:13+00:00

Is there a way to create a cutout in a div with CSS3 like

  • 0

Is there a way to create a cutout in a div with CSS3 like in the example below?

enter image description here

What I’m trying to do is create a cutout in between 2 divs as the image. The actual div that is being cut out is the div at the bottom, it has a background-color, a drop shadow, inset shadow and a border style.

What I would like to do then is put a CSS3 button inside the cutout of the div.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:44:15+00:00Added an answer on June 18, 2026 at 2:44 pm

    EDIT – NEW Solution

    with radial-gradient, it is possible to achieve new levels of quality in cutout divs: Running Demo

    Read more on https://stackoverflow.com/a/18853833/1654265


    OLD Solution

    You can do it with an homogeneus background, not with an artistic one like your. There are things that CSS will never do, for example becoming Photoshop.

    However, you can do the trick using borders, negative margin and z-index;

    Demo: http://jsfiddle.net/cB8Qq/

    HTML

    <body>
        <div class="container">
            <div class="rounded">bla bla bla</div>
            <div class="digged"> <br/><br/>or yada yada yada </div>
        </div>
    </body>
    

    CSS

    .container{
        text-align: center;
        background: #ddd;    
    }
    
    .rounded{
        margin: 0 auto;
        border-radius: 50px;
        width: 200px;
        height: 30px;
        background: silver;    
        padding: 10px;    
        border: 10px solid #ddd;    
        z-index: 1;
        position: relative;
    }
    
    .digged{    
        margin: 0 auto;
        background: silver;
        width: 400px;
        height: 100px;
        margin-top: -30px
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there a way to create an image slideshow that is rotated by say
Is there a way to create a callback function that fires when a list
Is there a way to create a layout like the notification bar (the sliding
Is there any way to create a dynamic Pinterest button? I'm trying to add
Is there a way to create an array that is both gettable and settable
Is there a way to create an html element that doesn't move even if
Is there an easy way to create a dictionary-like collection, i.e. Tables can be
is there way to create a rule in the jquery validiation plugin that allows
Is there a way to create unit tests that can be run with the
Is there any way to create a custom TFS check-in policy that can jump

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.