Forums

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

Home Forums CSS Creating a zigzag line for a border

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

    I’m helping a friend with her website and she sews for people. I thought giving her some border lines that are zigzagged would resemble those fun fabric sample cuts you see. I’ve seen these lines, I just have no idea how to create them.

    Here’s an example I came across: http://weblogbetter.com/

    #134052
    Anonymous
    Inactive

    That’s actually a background image and it’s not done with code. you can get a nice stitching effect with dashed border. But if you want that zigzag effect you will have to use a background-image. use this.

    Border:dashed 1px #000000;

    #134034
    Merri
    Participant

    Here is something you can do with CSS and also something you probably haven’t seen anywhere before:

    http://codepen.io/Merri/pen/tnFkz

    It isn’t zigzag but maybe fits the sewing theme?

    #134032
    rodolpheb
    Participant

    Hi, I’ve found this: http://codepen.io/joeyhoer/pen/EraAu

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