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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:22:38+00:00 2026-06-08T20:22:38+00:00

I have such design element. How to create it on page? My first guess

  • 0

Design element
I have such design element. How to create it on page? My first guess was to create triangle image and add it to right side of my element like this:

.profile-menu :hover
{
    background-color: #50BBFF;
    background-image: url("/Images/menu-triangle.png") ;
    background-position: right center; 
    background-repeat: no-repeat; 
    background-position: 145px 15px;
}

But the problem here is that triangle hides after it passes element’s border. z-index doesnt help here. I know that there sure are several ways to achieve that, but cant find the one.

  • 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-08T20:22:39+00:00Added an answer on June 8, 2026 at 8:22 pm

    You actually could do this with just background images using CSS3’s multiple background images.

    I put an example together yesterday which you can see here. If you know the dimensions of your box you could use this method.

    http://jsfiddle.net/spacebeers/T8Yzj/39/

    .box3 {
        z-index: 100;
        border: none;
        padding: 10px 0 30px 0;    
        background-image: url("http://test.mark-design.co.uk/4ik4e7ic.png"), url('http://test.mark-design.co.uk/line.png');
        background-position: 50% -1px, left top;
        background-repeat: no-repeat, repeat-x;
    }
    

    EDIT:

    You can also do exactly what you want without ANY images – http://jsfiddle.net/spacebeers/T8Yzj/55/

    .box2 {
        width: 100px;
        height: 50px;
        background: red;
        color: white;
        position:relative
    }
    
    .box2:after {
        content: "";
        position:absolute;
        width: 0;
        height: 0;
        bottom: 25%;
        left:100px;
        border-left: 10px solid #000;
        border-right: 10px solid transparent;   
        border-bottom: 10px solid transparent;    
        border-top: 10px solid transparent;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have such zend query: $select = $this->_table ->select() ->where('title LIKE ?', '%'.$searchWord.'%') ->where('description LIKE
I have been meaning to make use of design pattern in PHP, such as
I have such tables in my database like Customer , Member , Instructor ,
I have such file and I would like to replace $GLOBALS['SERVER_MEMCACHED']='localhost'; with $GLOBALS['SERVER_MEMCACHED']='mydomain.com'; using
I've asked this question before : CSS Background Image Its not as such a
If I have a standard TabControl element in Form design view, how can I
Suppose I have the following requirement: Add the element e to the element with
This isn't a show-stopping programming problem as such, but perhaps more of a design
i have such code (copy paste from wiki). Its multiplication of those big numbers
I have such XML structure which was returned by SharePoint web services. <rs:data ItemCount=4

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.