好了,这个可以用了,海洋图片在背景中显示,但重复4次,填满了整个屏幕。
<style type="text/css">
body {background-image:url('ocean.png');}
</style>
<body>
</body>
然后更改为
body {background-image:url('ocean.png') no-repeat center center;}
现在没有任何背景图片显示出来了。
我在一个长表单的右上角有一个小按钮,这个按钮可以切换表单是否可编辑。它具有粘性,引用表单的顶部和底部元素。当我滚动到页面顶部时,它工作得很好,但是当我到达它变得粘稠的程度时,它就失去了附加在它上的float-right类的效果。下面是代码:
<div class="columns small-8"><!-- First item of the form --></div>
<div class="columns small-4" data-sticky-container>
<div class=