jquery+jquery-ui实现一个便签管理系统
代码语言:html
所属分类:其他
代码描述:jquery+jquery-ui实现一个便签管理系统
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Gloria+Hallelujah' rel='stylesheet' type='text/css'>
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/jquery-ui-1.11.0.min">
<style>
/* * Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
display: none !important;
visibility: hidden;
}
/* * Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/* * Extends the .visuallyhidden class to allow the element to be focusable * when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/* * Hide visually and from screenreaders, but maintain layout */
.invisible {
visibility: hidden;
}
.clearfix:before,
.clearfix:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.clearfix:after {
clear: both;
}
.noflick, #board, .note, .button {
-webkit-perspective: 1000;
perspective: 1000;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */
* {
box-sizing: border-box;
}
html,
button,
input,
select,
textarea {
color: #000000;
}
body {
font-size: 1em;
line-height: 1;
background-color: white;
background: linear-gradient(135deg, white 0%, #ebebeb 47%, #dedede 100%);
}
::-moz-selection {
background: #B3D4FC;
text-shadow: none;
}
::selection {
background: #B3D4FC;
text-shadow: none;
}
a:focus {
outline: none;
}
::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.7);
}
:placeholder {
/* Firefox 18- */
color: rgba(0, 0, 0, 0.7);
}
/* ==========================================================================
Author's custom styles
========================================================================== */
#board {
padding: 100px 30px 30px;
margin-top: 40px;
overflow-y: visible;
}
.note {
float: left;
display: block;
position: relative;
padding: 1em;
width: 300px;
min-height: 300px;
margin: 0 30px 30px 0;
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0.25)));
background: linear-gradient(top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
background-color: #FFFD75;
box-shadow: 5px 5px 10px -2px rgba(33, 33, 33, 0.3);
-webkit-transform: rotate(2deg);
transform: rotate(2deg);
-webkit-transform: skew(-1deg, 1deg);
transform: skew(-1deg, 1deg);
-webkit-transition: -webkit-transform .15s;
transition: -webkit-transform .15s;
transition: transform .15s;
transition: transform .15s, -webkit-transform .15s;
z-index: 1;
}
.note:hover {
cursor: move;
}
.note.ui-draggable-dragging:nth-child(n) {
box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.........完整代码请登录后点击上方下载按钮下载查看
网友评论0