Bootstrap宽度缩略图

时间:2016-05-01 13:54:08

标签: html css twitter-bootstrap responsive col

我想使用缩略图类来制作一个投资组合。但我必须改变缩略图div的宽度。我有响应问题,因为我的宽度修改<?php $con = mysqli_connect("mysql4.000webhost.com", "a3826656_user", "", "a3826656_data"); $name = $_POST["name"]; $surname = $_POST["surname"]; $username = $_POST["username"]; $password = $_POST["password"]; $email = $_POST["email"]; $phone = $_POST["phone"]; $age = $_POST["age"]; $statement = mysqli_prepare($con, "INSERT INTO user (name, surname, username, password, email, phone, age) VALUES (?, ?, ?, ?, ?, ?, ?)"); mysqli_stmt_bind_param($statement, "siss", $name, $surname, $username, $password, $email, $phone , $age); mysqli_stmt_execute($statement); $response = array(); $response["success"] = true; echo json_encode($response); ?> 属性不起作用。我该如何解决这个问题?

这是HTML:

col-xs-12

CSS:

<div class="row portfolio-items">
  <a href="http://patricechevalosteopathe.fr" target="_blank">
    <div class="col-xs-12 col-sm-offset-1 col-md-3 thumb">
      <div class="thumbnail patrice thumb-title">
        Patrice Cheval
      </div>
    </div><!-- End col-xs-12 -->
  </a>
  <a href="http://mariekbijoux.com" target="_blank">
    <div class="col-xs-12 col-sm-offset-1 col-md-3 thumb">
      <div class="thumbnail mariek thumb-title">
        Marie K Bijouterie
      </div>
      <div class="thumb-text">
        Test
      </div>
    </div><!-- End col-xs-12 -->
  </a>
  <a href="http://thibaultcheval.esy.es" target="_blank">
    <div class="col-xs-12 col-sm-offset-1 col-md-3 thumb">
      <div class="thumbnail thibault thumb-title">
        Thibault Cheval
      </div>
    </div><!-- End col-xs-12 -->
  </a>
</div><!-- End portfolio-items & row -->

非常感谢

0 个答案:

没有答案