我堅持了一段時間。我在模態窗口中添加了一些輸入來創建一個賽季。但它仍然沒有響應(在較小的屏幕上顯得非常糟糕)。在模態窗口內引導窗體樣式
另外這兩個按鈕應該在井的右側。我嘗試了諸如「拉右」課程或「向左漂移」和絕對位置之類的東西,但他們總是穿過灰色背景。我該如何解決這個問題?
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3 class="pull-left">Seasons</h3>
</div>
<div class="modal-body" style="position: relative;">
<div class="well">
<div class="row" style="width: 80%; margin: 0;">
<div class="col-sm-6">
<span class="bold">Season name</span>
<input type="text" placeholder="e.g. High season">
</div>
<div class="col-sm-3">
<span class="bold">From</span>
<input type="date" style="font-size: 1.23rem; display: inline-block;">
</div>
<div class="col-sm-3">
<div style="margin-left: 40px;">
<span class="bold">To</span>
<input type="date" style="font-size: 1.23rem;display: inline-block;">
</div>
</div>
</div>
<br>
<button type="button" class="btn btn-default" data-dismiss="modal" style="position: absolute; right: 50px;">Close</button>
<button type="button" class="btn btn-primary" style="position: absolute; right: 20px;">Save</button>
</div>
</div>
</div>
編碼在線放在這裏:http://www.bootply.com/ojhdwC4y4x#
你想簡要描述一下有什麼問題?十字圖標顏色變化? –