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
由于img是行内标签造成的
img
默认对其方式为vertical-align: baseline(基线对齐) 。图片默认的垂直对齐方式是基线,基线的位置与字体相关,所以在某些时候,图片底部的空隙可能是 2px,而有时可能是 4px 或更多。不同的 font-size 会造成这个空隙的高度大小。
img标签底部总是留有一条白色空隙
The text was updated successfully, but these errors were encountered:
No branches or pull requests
原因
由于
img
是行内标签造成的办法
参考
img标签底部总是留有一条白色空隙
The text was updated successfully, but these errors were encountered: