- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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
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.
Yes, u can also us absolute positioning to achieve it.
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.
100% Code, no images required. Hope it helps!