We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
经常间歇性失忆忘了具体解决方法(还是用得少 还是记录下来好了 图转自网友博客
两个div设置为inline-block以后,中间有空白缝隙(margin:0;)
两个div元素之间有空白代码(如换行/空格等)
父元素设置font-size:0; 子元素记得改回来
元素直接不换行(一坨一坨的代码)
position:relative; 相对定位
https://www.cnblogs.com/cuncunjun/p/7390623.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
经常间歇性失忆忘了具体解决方法(还是用得少
还是记录下来好了
图转自网友博客
现象
两个div设置为inline-block以后,中间有空白缝隙(margin:0;)
原因
两个div元素之间有空白代码(如换行/空格等)
解决方法
1
父元素设置font-size:0;
子元素记得改回来
2
元素直接不换行(一坨一坨的代码)
3
position:relative;
相对定位
参考文章
https://www.cnblogs.com/cuncunjun/p/7390623.html
The text was updated successfully, but these errors were encountered: