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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:26:19+00:00 2026-05-24T13:26:19+00:00

How to make a box with arrow in CSS? Making round corner is easy.

  • 0

How to make a box with arrow in CSS?

Making round corner is easy. but any idea to make the arrow on left side without using image.

Is it possible to make possible with

only one elements <p>....</p>

body {
  background: #ff004e;
  padding: 40px
}
p {
  background: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  width: 250px;
  height: 150px
}
<p></p>

enter image description here

  • 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-24T13:26:19+00:00Added an answer on May 24, 2026 at 1:26 pm

    Like this :

    .arrow {
        border: solid 10px transparent;
        border-right-color: #FFF;
    }
    

    Demo : http://jsfiddle.net/sparkup/edjdxjf2/

    UPDATE :

    It can also be achieved without empty elements with the css property :before

    element:before {
        content: "";
        position: absolute;
        top: 50%;                         // half way down (vertical center).
        margin-top: -15px;                // adjust position, arrow has a height of 30px. 
        left:-30px;
        border: solid 15px transparent;
        border-right-color: #FFF;
        z-index: 1;
    }
    

    Demo : http://jsfiddle.net/sparkup/y89f1te0/

    hope it helps

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

Sidebar

Related Questions

What's the best way (if any) to make the inside box transparent so the
Are there any gems that would help me make a search box like the
How to make HTML Input Box accept date strictly in format dd/MM/yyyy? Alternatively, any
I am trying to make a pure css div with arrow ( like speech
Task: Make text box 100% width but allow enough room for button. Problem: Button
I created an autosuggest script using php, ajax and some css but I can't
I am trying to make a list navigable using the up/down arrow keys -
I am wondering if there is some way to make an box have the
I'm trying to make a combo box that behaves somewhat like the Firefox 3
I am trying to make a list box where I have complete control over

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.