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

How to set the distance between adjacent cell borders in css

王林
王林forward
2020-08-31 17:10:054654browse

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;

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete