In the process of front-end development, CSS dashed style is often used . But many css beginners don't know how to write css dotted style and how to achieve it. Well, without further ado, let’s go directly to the code:
1. All four sides are red dotted borders
My four sides are red dotted borders
2. The left side is a red dotted border
I have a red dotted border on the left
3. The right side is a red dotted border
I have a red dotted border on the right
4. The top is a red dotted line:
red dotted border above top
5. The bottom is a red dotted line
bottom red dotted border
6. Any side is a solid line, and the other three sides are dotted lines
The bottom is a solid border, and the other three directions are dotted borders