Is it possible to create a double dotted border using only CSS?
Sure it is! Have a look at this
I’ve modded it slightly. You don’t actually need pseudo elements for that.
@jamy_za Much easier! Any way to increase the spacing between the borders that way?
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.
You must be logged in to reply to this topic.