We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c081dac commit cba04acCopy full SHA for cba04ac
AMP/amp-tips.md
@@ -0,0 +1,3 @@
1
+## amp-imgをbackgroundでラップするとマージンができる
2
+amp-imgはinline block要素のため、backgroundで背景をつけると隙間ができる。
3
+ラップしている要素のline-heightを0にすれば隙間ができなくなる。
0 commit comments