猿问

一排三个框,各个框的间距是15px,距离外面的白框间距也是15px,这个css怎么写?

qq_笑_17
浏览 683回答 1
1回答

拉丁的传说

大框padding:15px;小框margin-right:15px;margin-bottom:15px;小框nth-child(3n)的margin-right:0;last-child,nth-last-child(2),nth-last-child(3)的margin-bottom:0;
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答