有人可以帮助我用html重新排序下面的列使用bootstrap 3:
----- ----- -----
| 1 | 2 | 3 |
----- ----- -----
Run Code Online (Sandbox Code Playgroud)
对此:
-----
| 2 |
-----
| 1 |
-----
| 3 |
-----
Run Code Online (Sandbox Code Playgroud)
我知道这与推/拉有关,我似乎无法做到正确.
编辑
和som代码,我无法工作:
<div class="row">
<div class="col-md-8 col-xs-12">2</div>
<div class="col-md-2 col-xs-12 col-md-push-2">1</div>
<div class="col-md-8 col-xs-12 col-md-pull-2">3</div>
</div>
Run Code Online (Sandbox Code Playgroud)
在移动设备上它看起来不错但不在桌面上.
解
<div class="row">
<div class="col-md-8 col-xs-12 col-md-push-2">2</div>
<div class="col-md-2 col-xs-12 col-md-pull-8">1</div>
<div class="col-md-8 col-xs-12">3</div>
</div>
Run Code Online (Sandbox Code Playgroud) 如何通过键入http://mydomain.com/site/edit/1来阻止加载部分视图?有没有办法这样做?
/马丁
我有以下代码:
var Modal = Class.extend({
//--- Default options
defaults: {
width: 300,
height: 200
// . . . more options
},
//--- Initialize the Modal class
init: function (options) {
//--- Extend defaults and options
this.options = jQuery.extend(this.defaults, options);
},
//--- Create the Modal
create: function () {
// . . . code removed
var closeButton = document.createElement("div");
jQuery(closeButton)
.attr({ "class": "modal_close" })
.css({ "cursor": "pointer" })
.live("click", function () {
this.closeModal();
})
.appendTo(modalHead);
// . . . more code …Run Code Online (Sandbox Code Playgroud)