Drag and drop so simple it hurts
https://github.com/bevacqua/dragula
angular-drag-and-drop-lists
http://marceljuenemann.github.io/angular-drag-and-drop-lists/
GRIDSTACK.JS
http://troolee.github.io/gridstack.js/[……]
Drag and drop so simple it hurts
https://github.com/bevacqua/dragula
angular-drag-and-drop-lists
http://marceljuenemann.github.io/angular-drag-and-drop-lists/
GRIDSTACK.JS
http://troolee.github.io/gridstack.js/[……]
Bootstrap 4 alphahttp://blog.getbootstrap.com/2015/12/08/bootstrap-4-alpha-2/
bootstrap 3 v3.3.7
http://getbootstrap.com/
bootstrap 3 v3.3.1 (中文)
https://kkbruce.tw/bs3/
Foundation for Sites 6
http://foundation.zurb.com/
Google Material design
Materialize
http://materializecss.com/
Angular Material
https://material.angularjs.org
Material-UI
http://www.material-ui.com/
[……]
2020/03/12 更新發現更簡單的方法,請參考這篇文章https://vector.cool/css-ul-li-horizontal-align-center-only-css/
<div class="main-container"> <div class="fixer-container"> <ul class="list-of-floating-elements"> <li class="floated">Floated element</li> <li class="floated">Floated element</li> <li class="floated">Floated element</li> </ul> </div> </div>
CSS:
<style> ul li{ float:left; margin:0 20px } .main-container { float:left; position:relative; left:50%; } .fixer-container { float:left; position:relative; left:-50%; } </style>
[……]
<a href="javascript:parent.$.fancybox.close();">關閉</a> 或 <script> $('a').click(function(e){ parent.$.fancybox.close(); }) </script>
<a href="$.fancybox.close();">關閉</a> 或 <script> $('a').click(function(e){ $.fancybox.close(); }) </script>
[……]