纯css实现一个多色便签效果
代码语言:html
所属分类:布局界面
代码描述:纯css实现一个多色便签效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
::-moz-selection {
background: #C6FF91;
text-shadow: none;
}
::selection {
background: #C6FF91;
text-shadow: none;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
body {
margin: 0;
padding: 0;
}
.wrapper {
margin: 60px auto 0 auto;
}
/* Note styles */
.note-wrap {
width: 235px;
min-height: 235px;
padding: 35px;
margin: 0 22px 44px 22px;
position: relative;
font-size: 24px;
vertical-align: top;
display: inline-block;
font-family: Englebert, Arial;
color: #4b453c;
background: #F7E999;
line-height: 34px;
text-align: center;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}
.note-wrap:before {
display: block;
content: "";
background: rgba(227, 200, 114, 0.4);
width: 130px;
height: 28px;
box-shadow: 0 1px 1px r.........完整代码请登录后点击上方下载按钮下载查看
网友评论0