Forums

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

Home Forums CSS [Solved] css border sketched effect

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

    Hey sorry in advance i’m an ametuer at this, but here goes.

    I need a border that has a sketched look so instead of having pretty meeting corners, the lines need to go past so it looks like its just been sketched up.

    is this possible using css?

    thanks for your time

    #139935
    Paulie_D
    Member

    Do you have an image of what you are trying to achieve?

    The ‘going past’ is, I suspect going to be the real issue. All normal CSS borders meet at 45 degrees and don’t cross.

    There is an option which might serve but it involves an image and is not supported by IE called `border-image`.

    Its not hard (but not easy either) and, as I said, you would have to have an image of the whole border.

    https://css-tricks.com/understanding-border-image/

    #140008
    CodeGraphics
    Participant

    Yes, u can also us absolute positioning to achieve it.

    #163074
    timjenkins
    Participant

    Made this today for a client using both the before and after pseudo class, and adding a small rotation on both. Forked your pen, CrocoDillon.

    More of a comic book cell sketchy border, but I think it’s what you’re looking for.

    This one uses Sass and Bourbon, but the css is viewable easily by clicking the css header.

    http://cdpn.io/Hjpfo

    100% Code, no images required. Hope it helps!

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