Home > Web Front-end > CSS Tutorial > How to set the distance between adjacent cell borders in css

How to set the distance between adjacent cell borders in css

王林
Release: 2020-08-31 17:10:05
forward
4921 people have browsed it

How to set the distance between adjacent cell borders in css

Let’s take a look at the implementation first:

How to set the distance between adjacent cell borders in css

(Recommended tutorial: CSS tutorial)

You can use the border-spacing property to set the distance between the borders of adjacent cells (only for "border separation" mode).

Specific code:

border-collapse: separate;
border-spacing: 0px 10px;
Copy after login

The above is the detailed content of How to set the distance between adjacent cell borders in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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