Comment: Sticky notes, I believe everyone is familiar with this word. There is a good example below that can achieve the special effects of sticky notes through html5. Friends who like it can learn about it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Post Note</title>
<style type="text/css">
*{
margin:0;
padding:0;
}
body{
font-family:arial,sans-serif;
font-size:100%;
margin:3em;
background:#666;
color:#ffff ;
}
h2,p{
font-size:100%;
font-weight:normal;
}
ul,li{
list-style:none;
}
ul{
overflow:hidden;
padding:3em;
}
ul li a{
text-decoration:none;
color:#000;
background:#ffc ;
display:block;
height:10em;
width:10em;
padding:1em;
}
ul li{
margin:1em;
float:left;
}
ul li h2
{
font-size: 140%;
font-weight: bold;
padding-bottom: 10px;
}
ul li p
{
font-family: Reenie Beanie, arial, sans-serif, Microsoft Yahei;
font-size: 110%;
}
ul li a
{
text-decoration: none;
color: #000;
background: #ffc ;
display: block;
height: 10em;
width: 10em;
padding: 1em; /* Firefox */
-moz-box-shadow: 5px 5px 7px rgba(33,33,33,1); /* Safari+Chrome */
-webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7); /* Opera */
box-shadow: 5px 5px 7px rgba(33,33,33,.7);
}
ul li a{
-webkit-transform:rotate(-6deg);
-o-transform:rotate(-6deg);
-moz-transform:rotate(-6deg);
}
ul li:nth-child(even) a{
-o-transform:rotate(4deg);
-webkit-transform:rotate(4deg);
-moz-transform:rotate(4deg);
position:relative;
top:5px;
}
ul li:nth-child(3n) a{
-o-transform:rotate(-3deg);
-webkit-transform:rotate(-3deg);
-moz-transform:rotate(-3deg);
position:relative;
top:-5px;
}
ul li:nth-child(5n) a{
-o-transform:rotate(5deg);
-webkit-transform:rotate(5deg);
-moz-transform:rotate(5deg);
position:relative;
top:-10px;
}
ul li a:hover, ul li a:focus{
-moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);
-webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);
box-shadow:10px 10px 7px rgba(0,0,0,.7);
-webkit-transform: scale(1.25);
-moz-transform: scale(1.25);
-o-transform: scale(1.25);
position:relative;
z-index:5;
}
ul li:nth-child(even) a{
-o-transform:rotate(4deg);
-webkit-transform:rotate(4deg);
-moz-transform:rotate(4deg);
position:relative;
top:5px;
background:#cfc ;
}
ul li:nth-child(3n) a{
-o-transform:rotate(-3deg);
-webkit-transform:rotate(-3deg);
-moz-transform:rotate(-3deg);
position:relative;
top:-5px;
background:#ccf ;
}
</style>
<link href=?family=Reenie+Beanie:regular rel=stylesheet type=text/css>
</head>
<body>
<ul>
<li><a href=#>
<h2>Dudu:</h2>
<p>Why haven't there been any beautiful posts recently? I will definitely give a headline recommendation, recommend!recommend!</p>
</a></li>
<li><a href=#>
<h2>Uncle Tom:</h2>
<p>A member of Team went to Microsoft to do SDE3, and he had to hire new member again</p>
</a></li>
<li><a href=#>
<h2>Technical brother:</h2>
<p>O2DS is the same as the book I translated. I must translate it faster than him. Work overtime at night, fast! fast! fast!</p>
</a></li>
<li><a href=#>
<h2>Artech:</h2>
<p>There are so few posts in WCF. It seems that I have to post more posts for everyone to learn</p>
</a></li>
<li><a href=#>
<h2>Jirigala:</h2>
<p>To make permission management and workflow management to the extreme of my ability, a person can only do so few things well</p>
</a></li>
<li><a href=#>
<h2>A martial arts master:</h2>
<p>I will never go to the interview for less than 25,000 yuan, it's grandma</p>
</a></li>
</ul>
</body>
</html>