Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How can I create a rounded arrow box using css3?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #158264

    Hi guys,
    using the below I can make a bit of a rounded arrow:

    -webkit-border-radius: 20px 50px 50px 20px;
    border-radius: 20px 50px 50px 20px;
    But it is not sharp enough, the arrow box must have a fluid height so it can contain text that is responsive. Is this possible to do with css3? You can see what I’m trying to achieve by going to http://dev.aaronpitts.ch/lhc/ and clicking on the SDBS box. I just want more of an arrowed right side.

    Many thanks

    #158289
    Merri
    Participant

    You can turn it from a circle into an oval by using 100% instead of 50px. This makes it look “sharper”.

    #158305
    Daydreamer
    Participant

    Hope this icon I created can help you :)

    Link to fiddle

    #158331
    sobu88
    Participant

    hi,Aaron118

    I think this is enough to your question.. :)

    width:0;
    height:0;
    border-left: 100px solid red;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.