How to set parallel dotted lines in css

藏色散人
Release: 2023-01-03 09:26:06
Original
2277 people have browsed it

How to set parallel dotted lines in css: 1. Set the dotted line by adding the css style to the hr tag as "border:1px #cccccc dotted;"; 2. By "border-top:1px dashed #cccccc;" Property settings dashed.

How to set parallel dotted lines in css

The operating environment of this tutorial: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

Two methods to implement horizontal dotted lines using CSS styles

Method one:

<br><br>
<hr size="1" noshade="noshade" style="border:1px #cccccc dotted;"/>
<br>
Copy after login

Method two:

<br><br>
<p style="border-top:1px dashed #cccccc;height: 1px;overflow:hidden"></p>
<br><br>
Copy after login

[Recommended: "css video tutorial"]

The above is the detailed content of How to set parallel dotted lines in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!