#Tutorial : Hover Status
Saturday, 2 January 2016 @ 02:10
大家好呀
这是2016第一篇写的教程
也是第一篇用华语来写的教程
还真有点不习惯
现在要分享给大家一个简单的部落格状态(如图)
字体,颜色,形状,大小,内容都可以更改哦
2.按 Ctrl+F (苹果电脑按 Command+F)
3.找 </style>
4.把这些代码放在</style>前面
#statusholder {
position: absolute;
z-index: 9;
top: 10px;
left: 10px;
width: 70px;
padding: 0px;
}
#status {
margin-top:18px;
margin-left:150px;
width: 70px;
height: 20px;
line-height: 16px;
font-size: 9px;
font-family: sans-serif;
font-weight:200;
text-transform: uppercase;
overflow: hidden;
text-align: center;
letter-spacing: 1px;
padding-top:5px;
background: #e5e5ff;
color: #fff;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}
#status:hover {
font-weight:200;
width: 100px;
height: 75px;
font-size: 11px;
overflow: auto;
line-height: 12.5px;
padding: 5px;
}
#status1 {
margin-top:0px;
margin-left:150px;
width: 70px;
height: 20px;
line-height: 16px;
font-size: 9px;
font-family: sans-serif;
font-weight:200;
text-transform: uppercase;
overflow: hidden;
text-align: center;
letter-spacing: 1px;
padding-top:5px;
background: #e5e5ff;
color: #fff;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}
#status1:hover {
font-weight:200;
width: 100px;
height: 75px;
font-size: 11px;
overflow: auto;
line-height: 12.5px;
padding: 5px;
}
#status2 {
margin-top:0px;
margin-left:150px;
width: 70px;
height: 20px;
line-height: 16px;
font-size: 9px;
font-family: sans-serif;
font-weight:200;
text-transform: uppercase;
overflow: hidden;
text-align: center;
letter-spacing: 1px;
padding-top:5px;
background: #e5e5ff;
color: #fff;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}
#status2:hover {
font-weight:200;
width: 100px;
height: 75px;
font-size: 11px;
overflow: auto;
line-height: 12.5px;
padding: 5px;
}
5.再按 Ctrl+F (苹果电脑按 Command+F)
6.找 <head>
7.把这些代码放在<head>后面</head>之间
<div id="statusholder">
<div id="status">
题目<br>
内容
</div>
<div id="status1">
题目<br>
内容
</div>
<div id="status2">
题目<br>
内容
</div>
</div>
青色⇒字体颜色
粉色⇒背景颜色
靛色⇒题目
紫色⇒内容
有什么不明白的话,留言吧,我都会尽力帮你们解决
Labels: tutorial


我是一个90后,双鱼座的孩子,喜欢一切美好事物,比如说看到家人朋友天天开心,看偶像导演的戏,看到花开花谢,看到自己收集的书,看到自己喜欢的口红,这些都会让我很开心很开心。我能很乐观也能很悲观,完全没有中立的可能。中学时期是是一个常常摆着一张脸的人。那时候的我超级喜欢打羽毛球,甚至去教练的课程打羽毛球打到自己有两块腹肌,全身肌肉很结实,可是现在都不如往日,时间越来越少,越来越忙碌,一年都没有打羽毛球一次,慢慢颓废了。
拥有金鱼般的记忆力,很快忘记很多伤心的一切事物。我是一个会发呆上小时的人(我也不懂我在搞什么)。我喜欢很多颜色,要么很深要么很浅。喜欢寻求刺激,喜欢坐上过山车的感觉。喜欢到外国旅行,因为能脱离自己凡俗的生活。不知道为什么莫名其妙的,就是喜欢牡丹花和仙人掌,也喜欢红烈鸟和浣熊

