The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Double Dotted Border
Hi Everyone,
Is it possible to create a double dotted border using only CSS?
Thanks!
I’ve modded it slightly. You don’t actually need pseudo elements for that.
I like the way that @jamy_za laid it out, but I have the same question as @sl1dr. Is it possible to put any spacing between the the border and the outline?
Just figured it out. You can use outline-offset to put spacing in between the two.
Thanks for your help guys!
No problem. And awesome, I wasn’t actually aware of outline-offset. Note: Be careful when using outline since it doesn’t affect the box model.