Bootstrap 的响应式 CSS 能够自适应于台式机、平板电脑和手机
下面是手机端显示的样式
代码如下:
1.test.PHP
汽车信息
<table class="table table-striped">
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×
<h4 class="modal-title" id="myModalLabel">汽车详细信息