愛情這東西啊,是你想要的時候偏逃走,不想要的時候又糾纏不過來,想放放不開,想抓抓不牢,忘又忘不掉,恨又恨不了的一種輪回中冥冥跟隨你的靈感世界!
2018-04-20
<div class="row">
<div class="col-md-2">col-md-2</div>
<div class="col-md-2 offset-md-1">占2偏移1</div>
<div class="col-md-2 offset-md-1">占2偏移1</div>
<div class="col-md-3 offset-md-1">占3偏移1</div>
</div>
<div class="col-md-2">col-md-2</div>
<div class="col-md-2 offset-md-1">占2偏移1</div>
<div class="col-md-2 offset-md-1">占2偏移1</div>
<div class="col-md-3 offset-md-1">占3偏移1</div>
</div>
那個翻遍了找寶貝er瑩的同學,我幫你找到了,在這節評論的第五頁\(^o^)/~
寶貝er瑩
再添加一條<legend><input type="text" class="form-control" placeholder="顯然我顏色變灰了,但是我沒被禁用,不信?單擊試一下" /></legend>就可以禁用了
時間: 2015-12-10
寶貝er瑩
再添加一條<legend><input type="text" class="form-control" placeholder="顯然我顏色變灰了,但是我沒被禁用,不信?單擊試一下" /></legend>就可以禁用了
時間: 2015-12-10
2018-04-19
<div class="form-group">
<div class="col-xs-6">
<input class="form-control input-lg" type="text" placeholder="不是焦點狀態下效果">
</div>
<div class="col-xs-6">
<input class="form-control:focus input-lg" type="text" placeholder="焦點點狀態下效果">
</div>
</div>
<div class="col-xs-6">
<input class="form-control input-lg" type="text" placeholder="不是焦點狀態下效果">
</div>
<div class="col-xs-6">
<input class="form-control:focus input-lg" type="text" placeholder="焦點點狀態下效果">
</div>
</div>
2018-04-19
那你們多加幾個換行就可以解決導航欄遮擋問題。<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
2018-04-19
col-sm-2指的是12柵格系統中在小屏幕下占兩列, control-label則指的是控制標簽(label)樣式的一個類,一般用于控制表單控件里的樣式例如這個代碼
<label for="password" class="col-sm-2 control-label">密碼</label> <div class="col-sm-10">
意思就是密碼這兩個字占兩列,密碼輸入框占10列,一共占12列。如果不加control-label,這兩個元素就總是對不齊,你可以試試哦
<label for="password" class="col-sm-2 control-label">密碼</label> <div class="col-sm-10">
意思就是密碼這兩個字占兩列,密碼輸入框占10列,一共占12列。如果不加control-label,這兩個元素就總是對不齊,你可以試試哦
親們,,建議你們學點jsjq再過來,,想看效果的話,吧a標簽和button標簽換成這樣,,,bootstrap.js也是js,不給對象定向怎么能實現事件呢
<a class="btn btn-primary" data-toggle="modal" href="#mymodal-link">通過鏈接href屬性觸發</a>
<button class="btn btn-primary" type="button" data-toggle="modal" href="#mymodal-data">通過data-target觸發</button>
<a class="btn btn-primary" data-toggle="modal" href="#mymodal-link">通過鏈接href屬性觸發</a>
<button class="btn btn-primary" type="button" data-toggle="modal" href="#mymodal-data">通過data-target觸發</button>
2018-04-18
data-toggle指button點擊事件的作用對象類型,沒記錯一共有八個,collapse,button(s),dropdown,modal,tab,pill,還有一個想不起來了
data-target指向具體目標,#(對象屬性為id)mymodal-data(屬性名),
可以另加一個其他id的模擬彈出框,把button的data-target更改為此id,或在class上加一個自定義類名,把button的data-target更改為“.類名”。
這部分就是封裝了jq選擇器加上取自定義屬性的方法,看看jq就明白了
data-target指向具體目標,#(對象屬性為id)mymodal-data(屬性名),
可以另加一個其他id的模擬彈出框,把button的data-target更改為此id,或在class上加一個自定義類名,把button的data-target更改為“.類名”。
這部分就是封裝了jq選擇器加上取自定義屬性的方法,看看jq就明白了
2018-04-18