子级加上了margin以后,发现其父级也移动了相应的margin值。外边距合并。换成padding;在父级上加overflow:hidden;

05-07 15:44