I am wondering how to have a border that is circles or dots(not squared dots, border: white dotted 2px; <- I don’t want this) in CSS?
I am wondering how to have a border that is circles or dots(not squared
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT:
I would recommend using CSS3 border-image with the understanding that IE10 and below will need a polyfill.
Original Accepted Answer:
The only way to guarantee that it shows up as circles across all browsers is to use an image.
There is a tutorial here: http://www.htmlgoodies.com/beyond/css/how-to-create-border-images-using-css3.html
CSS:
HTML:
Image:
If you need it to work for IE, you could also just create a wrapper div that has a background of dots and just give the inner div a padding of whatever height the dots are.