绅士: 遥不可及的你
本帖最后由 绅士 于 2017-2-12 13:21 编辑 <br /><br /><style type="text/css">.all {
margin: auto;
margin-top: 100px;
margin-bottom: 100px;
width: 700px;
height: 500px;
background: #f5f5f5;
font-family: "微软雅黑";
}
.all:hover {
-moz-box-shadow: 2px 3px 5px #000000;
-webkit-box-shadow: 2px 3px 5px #000000;
box-shadow: 2px 3px 5px #000000;
}
.all {
-webkit-animation-name: fadeIn;
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: 1;
-webkit-animation-delay: 0s;
}
.left,.right {
float: left
}
.left {
position: absolute;
width: 300px;
height: 500px;
background: url("http://attachment.qqmcc.net/attachment/album/201702/03/115246ljy0synzk09k7fkf.jpg") no-repeat center;
text-align: center
}
.right {
width: 400px;
height: 500px;
margin-left: 300px;
background: whitesmoke;
overflow-y: scroll;
}
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 10px;
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: rgba(144,24,53,0.7);
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(144,24,53,0.4);
}
.left_a,.left_a:after,.left_a:before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: 185px auto
}
.left_a {
width: 90pt;
height: 90pt;
border-radius: 50%;
background: url("http://www.qqmcc.net/data/attachment/album/201701/03/153933c3tdqpsfad3axxdt.jpg");
background-size: 100%;
color: whitesmoke;
}
.left_a:after,.left_a:before {
z-index: 1;
margin: -5%;
box-shadow: inset 0 0 0 1px;
content: '';
animation: clipMe 10s linear infinite
}
.left_a:before {
animation-delay: -5s
}
.left_a:hover:after,.left_a:hover:before {
background-color: rgba(245 ,245,245,0.3)
}
.left_b {
margin-top: 225px;
margin-left: 265px;
width: 0;
height: 0;
border-top: 20px solid transparent;
border-right: 20px solid whitesmoke;;
border-bottom: 20px solid transparent;
border-left: 20px solid transparent;
}
#right_a {
border-left-style: solid;
border-color: white;
padding: 5px;
margin-left: 5px;
font-size: 23px;
}
.right p {
text-align: left;
margin-left: 5px;
font-size: 18px;
margin-top"8px;
}
@keyframes clipMe {
0%,to {
clip: rect(0px,140.0px,0px,0px)
}
25% {
clip: rect(0px,0px,140.0px,0px)
}
50% {
clip: rect(138.0px,140.0px,140.0px,1px)
}
75% {
clip: rect(0px,140.0px,140.0px,138.0px)
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
/*初始状态 透明度为0*/
}
25% {
opacity: 0.2;
/*初始状态 透明度为0*/
}
50% {
opacity: 0.5;
/*中间状态 透明度为0*/
}
75% {
opacity: 0.7;
/*结尾状态 透明度为1*/
}
100% {
opacity: 1;
/*结尾状态 透明度为1*/
}
}
.clear {
clear: both;
}
</style>
<div class="all">
<div class="left">
<div class="left_a">
</div>
<div class="left_b"></div>
</div>
<div class="right">
<p id="right_a">ℬecause of you</p>
<p><br><br></p><center>清晨的粥比深夜的酒好喝,<br><br>骗你的人比爱你的人会说。<br><br>别总去追正在追着别人的人,<br><br>有时候也该回头看看正在追着你的那个人。<br><br><br><br>现在的自己终于相信,<br><br>嫁给合适要比嫁给爱情靠谱。<br><br><br><br><br><br> —— Gentleman<p></p>
</center></div>
<div class="clear"></div>
</div>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="1" height="1" src="//music.163.com/outchain/player?type=2&id=442853666&auto=1&height=66"></iframe> 遥不可及的你 ℬecause of you 我要嫁给爱情啊 遥远的她 下午好 摇一摇 ℬecause of you 那你很棒哦 来