Tags

, , , , ,

use box-shadow instead of border

for eg : if you have used

.a{border-bottom:1px solid #ccc}

instead of this use

.a{box-shadow : inset 0 2px 0 0 #ccc}

it will not impact the size of the element.

Advertisements