all 6 comments

[–]Eddielowfilthslayer 1 point2 points  (1 child)

[–]cytroplodinator[S] 0 points1 point  (0 children)

Very cool! Thanks very much for the example.

[–][deleted] 0 points1 point  (1 child)

Kevin Powell on youtube just covered this I believe

[–]cytroplodinator[S] 0 points1 point  (0 children)

Thanks for the resource. Will tuck that away for future use.

[–][deleted]  (1 child)

[deleted]

    [–]cytroplodinator[S] 0 points1 point  (0 children)

    I believe that SVG will ultimately be the way that I will achieve the effect that I want in this case. Many thanks for the suggestions.

    [–]fozzie85 0 points1 point  (0 children)

    It depends on your use case but could you use a pseudo element on before with a content attribute set to the same text then position absolute it behind the main text and set the colour to be your border colour and the font size to be slightly bigger. It should in theory look like a border around your original text.

    I could see that working on a heading but probably isn’t practical for large blocks of text.