html gallery app 111 18U

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html gallery app 111 18U相关的知识,希望对你有一定的参考价值。

body {
  margin: 40px;
}

.container {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: auto auto;
  background-color: #fff;
  color: #444;
}

.box {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
}

.a {
  grid-column: 1 / span 3;
  text-align: center;
}

.b {
  grid-column: 1 / span 2;
  grid-row: 2;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: repeat(2, 100px);
}

.c {
  grid-row: 2;
  text-align: center;
}

button {
  font: bold 24px Arial;
  background-color: black;
  color: lime;
  padding: 2px 6px 2px 6px;
  border-radius: 10px;
  border: 1px solid #CCCCCC;
}

#lead-photo {
  width: 300px;
  margin: auto;
  padding: 1em;
  border-radius: 50px;
}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Gallery</title>
  <link rel="stylesheet" href="stylesheets/gallery.css">
</head>

<body>
  <div class="container">
    <div class="box a">
      <h2>Image Gallery</h2>
    </div>
    <div class="box b photos">
      <img id="lead-photo" src="images/Stretched_Dachshund.jpg" align="middle">
    </div>
    <div class="box c">
      <h2>Next Image</h2>
      <button>Go!</button>
      <div></div>
    </div>
  </div>
  <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  <script src="javascripts/gallery.js"></script>
</body>

</html>

以上是关于html gallery app 111 18U的主要内容,如果未能解决你的问题,请参考以下文章

18U3D Socket实现简易通讯

Android App中使用Gallery制作幻灯片播放效果

Android 使用Gallery组件实现图片播放预览

Android 7.0 Gallery图库源码分析1 - 初识Gallery源码

Android Gallery App - 由于没有输入而无法选择图像

如何在 Gallery App IOS 中显示文档目录中的图像?