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

  • Home
  • SEARCH
  • 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 8029253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:22:53+00:00 2026-06-05T00:22:53+00:00

How can I make a background like the attached image in css? I have

  • 0

enter image description here

How can I make a background like the attached image in css? I have experimented with border so that I can give it a shape like the black part, but in that case I cannot write text so I guess border shapes of parallelogram will not work any other ideas?

  • 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-05T00:22:55+00:00Added an answer on June 5, 2026 at 12:22 am

    You can write like this:
    CSS

    .tab{
        width:200px;
        height:40px;
        position:relative;
        background:#000;
    }
    .tab:after{
        content:'';
        right:-40px;
        top:0;
        position:absolute;
        width:0;
        height:0;
        border-width:20px;
        border-color: transparent transparent #000 #000;
        border-style:solid;
    }
    

    Check this http://jsfiddle.net/696Sb/

    Y0u can also use css3 transform for this. Write like this:

    .tab:after{
        content:'';
        right:-30px;
        top:10px;
        position:absolute;
        width:60px;
        height:60px;
        background:#000;
        -moz-transform:rotate(45deg);
        -webkit-transform:rotate(45deg);
        transform:rotate(45deg);
    }
    

    Check this http://jsfiddle.net/696Sb/1/

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

Sidebar

Related Questions

I want to make the background of a QDialog transparent so that I can
I'm trying to make my panel show image as background. I already can do
How can I make transparent gradient on my webpage like that on the picture?
how can i make a dynamic resizable hover background just like this page in
I would like to know if I can make an image opaque if set
Background info I have an app where users can make microsites ala http://myname.the_app.com .
Is there a way, in CSS, I can make an element click-through-able. I have
I have a html map that uses world map image as its background. I
I have a CSS class that makes my links look like nice looking buttons.
can't make my background image' position animate $(function() { $('#nav1').bind('click',function(event){ $('ul.nav').stop().animate({backgroundPosition: 'right top'}, 1000);

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.