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 7081015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:51:58+00:00 2026-05-28T06:51:58+00:00

Does anyone have a modern CSS method for doing something like this? I’ve been

  • 0

Does anyone have a modern CSS method for doing something like this? I’ve been searching for ages. Maybe I’m using the wrong search terms?

http://fu2k.org/alex/css/equalheight/divs/clipped

UPDATE:

Thanks to all for the replies & comments. Unfortunately the background of my div is patterned and has a thin solid border so this seems to rule out a lot of suggestions. I’m still exploring the ideas. Perhaps a javascript approach is a possibility?

  • 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-05-28T06:51:59+00:00Added an answer on May 28, 2026 at 6:51 am

    You can achieve this with pure CSS – cross-platform, working down to IE7 (I haven’t tested this with IE6, but I think it should still work).

    <style type="text/css">
    <!--
    div.big {
        position: relative;
        width: 600px;
        height: 200px;
        background:#FFF url(images/pattern.png)
        border: solid 1px black;
    }
    
    div.top-left-b {
        width: 0;
        height: 0;
        position: absolute;
        top: 0px;
        left: 0px;
        border-top: solid 40px black;
        border-right: solid 40px transparent;
        z-index: 1;
    }
    
    div.top-left-w {
        width: 0;
        height: 0;
        position: absolute;
        top: -1px;
        left: -1px;
        border-top: solid 40px white;
        border-right: solid 40px transparent;
        z-index: 2;
    }
    
    div.top-right-b {
        width: 0;
        height: 0;
        position: absolute;
        top: 0px;
        right: 0px;
        border-top: solid 40px black;
        border-left: solid 40px transparent;
        z-index: 1;
    }
    
    div.top-right-w {
        width: 0;
        height: 0;
        position: absolute;
        top: -1px;
        right: -1px;
        border-top: solid 40px white;
        border-left: solid 40px transparent;
        z-index: 2;
    }
    
    div.bottom-left-b {
        width: 0;
        height: 0;
        position: absolute;
        bottom: 0px;
        left: 0px;
        border-bottom: solid 40px black;
        border-right: solid 40px transparent;
        z-index: 1;
    }
    
    div.bottom-left-w {
        width: 0;
        height: 0;
        position: absolute;
        bottom: -1px;
        left: -1px;
        border-bottom: solid 40px white;
        border-right: solid 40px transparent;
        z-index: 2;
    }
    
    div.bottom-right-b {
        width: 0;
        height: 0;
        position: absolute;
        bottom: 0px;
        right: 0px;
        border-bottom: solid 40px black;
        border-left: solid 40px transparent;
        z-index: 1;
    }
    
    div.bottom-right-w {
        width: 0;
        height: 0;
        position: absolute;
        bottom: -1px;
        right: -1px;
        border-bottom: solid 40px white;
        border-left: solid 40px transparent;
        z-index: 2;
    }
    -->
    </style>
    
    <div class="big">
        <div class="top-left-b"><!-- --></div>
        <div class="top-left-w"><!-- --></div>
        <div class="top-right-b"><!-- --></div>
        <div class="top-right-w"><!-- --></div>
        <div class="bottom-left-b"><!-- --></div>
        <div class="bottom-left-w"><!-- --></div>
        <div class="bottom-right-b"><!-- --></div>
        <div class="bottom-right-w"><!-- --></div>
    </div>
    

    This would produce the following effect:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have a paper, a link, or something like that, that explains the
Does anyone have a idea how to do this kind progress bar?
Does anyone have this Regular Expression? public static class HtmlAttributeValidator{ const bool REGEX_OPTIONS =
Does anyone have a good shell line for this? I want to check the
Does anyone have a clue how to use this? The documentation as usual is
Does anyone have a ball park speed comparison between a modern physical disk drive
Does anyone have any advice or examples for doing validation with backbone.js and ruby
Does anyone have any information on what optimisations (I realise this is implementation specific)
Does anyone have a tutorial of how to use this Json framework . It
Does anyone have any recommendations of tools that can be of assistance with moving

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.