html5图片随界面大小变化

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
</head>
<body>

<div data-role="page" id="pageone">
  <div data-role="header">
    <h1>Multiple Rows</h1>
  </div>

  <div data-role="main" class="ui-content">
    <p>Three-column Layout:</p>
    <div class="ui-grid-b">
      <div class="ui-block-a" style="text-align:center;padding: 5px;">
          <a href="#">
              <img src="https://lh5.googleusercontent.com/-YJMBqVobtwY/TWjA7XLPXDI/AAAAAAAABbs/vKQNd4U1C74/s1600/1298656123_blackboard+copy3.png" style="max-width: 100%; height: auto">
          </a>
      </div>
      <div class="ui-block-b" style="text-align:center;padding: 5px;">
          <a href="#">
              <img src="https://lh5.googleusercontent.com/-YJMBqVobtwY/TWjA7XLPXDI/AAAAAAAABbs/vKQNd4U1C74/s1600/1298656123_blackboard+copy3.png" style="max-width: 100%; height: auto">
          </a>
      </div>
      <div class="ui-block-c" style="text-align:center;padding: 5px;">
          <a href="#">
              <img src="https://lh5.googleusercontent.com/-YJMBqVobtwY/TWjA7XLPXDI/AAAAAAAABbs/vKQNd4U1C74/s1600/1298656123_blackboard+copy3.png" style="max-width: 100%; height: auto">
          </a>
      </div>
    </div>


  </div>
</div> 

</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值