console
<div class="paper">
<img src=http://wx1.sinaimg.cn/mw690/005Zc82Qly1fgquht3qmzj30zk0qodou.jpg" class="poster" alt="" />
<h2>SKIRRY</h2>
<h1>毛柏森</h1>
<hr />
<p>希望大家对事物要有辩证的眼光,不要听风就是雨,对待问题要持怀疑态度,要自己分析和思考,修正和完善别人的观点,建立自己独特的见解。只有这样,再聊到某个话题的时候,你才可以站在更高的高度上发表自己的见解,而不是仅仅复述别人的观点。复述别人观点的言语是没有灵魂的,能讲出自己的思路,才能让人眼前一亮。</p>
<a href="http://jsrun.net/HVYKp/show" class="btn">查看网页 </a>
<div class="space"></div>
</div>
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700|Playfair+Display');
$san-serif:'Open Sans',
sans-serif;
$serif:'Playfair Display',
serif;
$color-shadow:transparentize(#303336, .9);
* {
user-select: none;
transition: .3s ease;
-webkit-font-smoothing: antialiased;
}
body {
background-image: linear-gradient(-45deg, #EEF0F3 0%, #F6F5F3 100%);
font-size:62.5%;
}
.paper {
margin: 10vh auto;
min-width: 20vw;
max-width: 40vw;
min-height: 20vh;
border-radius: 4px;
box-shadow: 0 15px 35px rgba(50, 50, 90, .1), 0 5px 15px rgba(0, 0, 0, .07);
transition: .6s ease;
background: white;
text-align: center;
}
.paper:hover {
box-shadow: 0 18px 35px rgba(50, 50, 90, .1), 0 10px 15px rgba(0, 0, 0, .07);
transform: translateY(-1px);
}
img {
width: 100%;
}
.poster {
border-radius: 4px 4px 0 0;
margin-bottom: 2vh;
}
h1 {
font-size: 2.6rem;
color: #303336;
letter-spacing: 1px;
margin: 2vh 4vw;
font-family: $serif;
}
h2 {
font-size: .4rem;
color: #A0A6AB;
letter-spacing: 2px;
text-transform: uppercase;
font-family: $san-serif;
font-weight: 700;
margin-bottom: 10px;
}
hr {
width: 20%;
margin-top: 3vh;
margin-bottom: 3vh;
border: 0;
border-bottom: 1px solid #E6E9EC;
}
p {
margin: 2vh 15px;
text-indent: 2em;
text-align: left;
padding-bottom: 1vh;
color: #A0A6AB;
font-family: $serif;
font-weight: 400;
font-size: .9rem;
line-height: 1.25rem;
}
.btn,
a.btn {
display: inline-block;
text-transform: uppercase;
cursor: pointer;
text-decoration: none;
line-height: 20px;
border-radius: 4px;
padding: 1vh 2vh;
letter-spacing: .02rem;
background: #664EF7;
color:white;
font-family:$san-serif;
font-size:.8rem;
box-shadow:0 0px 0px $color-shadow,
0 0px 0px rgba(0, 0, 0, 0);
}
.btn,
a.btn:hover {
box-shadow:0 7px 14px $color-shadow,
0 3px 6px rgba(0, 0, 0, .08);
color: #7C66FF;
background: white;
transform: translateY(-1px);
}
.btn,
a.btn:active {
box-shadow:0 4px 6px $color-shadow,
0 1px 3px rgba(0, 0, 0, .12);
transform: translateY(1px);
}
.space{
height:4vh;
}