Two inline-block elements next to each other.
.e{border:1px #ccc solid} .e:hover{border-color:#555}
I would like to reduce the border 1px + 1px between them to a common border 1px .
To illustrate.
Select the first item.
Select the second item.
Itβs easier to reduce the 2px border to 1px by setting either border-right or border-left to 0 , but how do I keep the general 1px border when selecting any item?
No JavaScript.
user479870
source share