Forums

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

Home Forums CSS Border around css-generated trapezoid

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43598
    yaclive
    Member

    Hello everyone,

    So I’m trying to put a 1px black border around a trapezoid generated like this:

    border-top:80px solid #C1C1C1;
    border-left:45px solid transparent;
    border-right:45px solid transparent;
    padding:0 8px 0 0;
    height:0;
    width:120px;

    But of course I’m already using borders for the trapezoid, so is there any way to ether generate the trapezoid differently or apply the 1px border differently?

    Any feedback is much appreciated,

    Cheers

    #129402
    yaclive
    Member

    Awesome, Thanks!

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