屏幕尺寸较小时,链接内的图像不呈现

时间:2018-08-14 16:25:36

标签: html css reactjs image

我有两个链接,其中包含分别指向iOS和Play商店的图像。一切正常,但是当屏幕尺寸改变时,图像就会停止渲染。知道我缺少什么样式吗?

下面的代码和屏幕截图。

<a href="https://itunes.apple.com/app/apple-store/id412223222?pt=460734&ct=PostInviteRequest&mt=8">
  <img alt="Get it on the App Store"
    src="https://static.hudl.com/onboarding/appStore.png"/>
</a>

<a href="https://play.google.com/store/apps/details?id=com.hudl.hudroid"
  <img alt="Get it on Google Play"
    src="https://static.hudl.com/onboarding/playStore.png"/>
</a>

This works fine. Screen resolution is normal here

Upon resizing the image buttons disappear. The image on the right is fine.

非常感谢。

0 个答案:

没有答案