flagstone实现瀑布流布局拖拽排序过渡动画效果代码
代码语言:html
所属分类:瀑布流
代码描述:flagstone实现瀑布流布局拖拽排序过渡动画效果代码,可设置列数、间距、方向等。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
background: #777;
}
body {
font: 400 18px/1.4 "Open Sans", sans-serif;
margin: 0 2vw;
background: inherit;
min-height: 1100px;
}
h1 {
margin: 10px;
padding-top: 30px;
font-size: 48px;
color: #aaa;
text-shadow: 0 0 5px #5d646e;
text-align: center;
}
h1 a {
text-decoration: none;
color: inherit;
}
.slogan {
display: block;
font-size: 10px;
text-shadow: initial;
text-transform: uppercase;
letter-spacing: 8px;
text-indent: 8px;
}
.quick-info {
display: block;
margin: 10px 0;
font-family: sans-serif;
font-size: 11px;
text-shadow: initial;
text-align: center;
text-transform: uppercase;
color: #aaa;
}
button {
border: none;
outline: none;
}
p {
margin-top: 1em;
}
.adjust {
position: fixed;
z-index: 100;
top: -290px;
left: 0;
width: 350px;
height: 290px;
border-radius: 0 0 10px 0;
padding: 10px 10px 0 10px;
background-color: #aaa;
color: #fff;
font-size: 12px;
transition: top 0.25s ease;
box-shadow: 4px 4px 4px 0 #5d646e;
}
.adjust.active {
top: 0px;
}
.adjust .toggle-widget {
padding-top: 10px;
margin-top: 10px;
font-size: 16px;
color: #ff0;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.adjust .toggle-widget:after {
content: "";
display: table;
clear: both;
}
..........完整代码请登录后点击上方下载按钮下载查看
















网友评论0