How does css divide div equally

how to achieve these two effects
A: there is a gap between three small div, and there is no
B: a div with a split line in the middle

.
Mar.16,2021

use flexible layout first, and use margin if display: flex;justify-content: space-between; wants to fine-tune.
use pseudo elements for the second, either after or before.

Portal flexible layout


suggest you refer to the flex layout
flex layout:

CSS:before and after


take a look at flex: http://www.ruanyifeng.com/blo.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b4ef-2b5e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b4ef-2b5e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?