Hi I’m struggling like a madman tring to create a shield/badge here with a dotted inner border (3px inside of the div)
However im struggling like a madman. I Thought I would need to create to triangle to achieve this effect after releasing I wouldn’t know what to do get the dotted effect, I though I should ask here.
The Codepen is showing a blank screen.
When you use codepen, you don’t include the head and body elements in the html section. Treat it as if the html box is the body element.
Then all your javascript should go into the javascript box.
Any libraries of frameworks you intend to use can be linked in the Settings.
Edit: It finally loaded after some considerable time and I see the page.
maybe anothe pdudoo elemnt [quote=“SamA74, post:2, topic:298746”]
, you don’t include the head and body elements in the html section. Treat it as if the html box
[/quote]
Hi thanks for your reply Sam.
I did not have any problems loading it , but i’ll remove the <head>
I’m glad you where able to load it after all
Edit: after trying to remove the head it was not displayed correctly
<offtopic>
I’ve always wondered, how does one create an SVG like that? I assume you’re not typing it by hand?
Something like inkscape or illustrator maybe? </offtopic>
Actually, it is quite possible to do “by hand”. It’s a matter of understanding what parameters do what, plugging in best-guess values, and tweaking until satisfied.
Of course the more experience you have the better the best-guess will be and the more persistent you are the more likely you’ll reach “satisfied”. But it can definitely be done.
For simple geometric shapes like that, it’s not too difficult to write the code by hand. you are basically plotting coordinates on a virtual canvas.
But for more complex/creative imagery I find it easier to use some kind of graphics app/GUI. Both Illustrator and Inkscape can output to SVG, among others.
good job sir:) Its a lot of creative guys at this forum I can see. I’m either going to use this badge as the site title, or as an alternative I could use it in the nav for the currently selected page. Ill need to test a few things to see what I like best … Also Im not sure about the color I hope its easy to adjust .
###ScreenShot:

To view the results the above source may be copied into this ***Free Html Online Viewer:***
> http://scratchpad.io/workable-apparel-8549
Hi there coothead I have tested this and it looks pretty great But it is has to small width unfortunately
You wouldn’t have any chance to make this badge a little wider without increasing the height ?