You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

75 lines
1.3 KiB

html,
body {
background-color: #f5f5f5;
height: 100%;
overflow: hidden;
}
.left-list {
position: absolute;
right: calc(100% + 10px);
top: 8%;
min-width: 50px;
padding: 0 10px;
line-height: 3; // 12*3=36px
text-align: center;
border-right: 1px solid rgba(0, 0, 0, 0.6);
.item {
white-space: nowrap;
a{
display: inline-block;
text-decoration: none;
font-size: 1.2em;
}
}
}
.container {
width: 1100px;
margin: 0 auto;
}
.a-flex {
display: flex;
}
/*
图片类样式
*/
.img-wrapper {
width: 100px;
height: 100px;
overflow: hidden;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
border: 3px solid #000;
img {
width: 100%;
height: 100px;
-webkit-transition: 0.3s linear;
transition: 0.3s linear;
&:hover {
transform: scale(1.1);
}
}
.grayscale-img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
.grayscale-img:hover {
-webkit-filter: grayscale(0);
filter: grayscale(0);
} /* ============== * 深褐色过滤* ==============*/
.sepia-img {
-webkit-filter: sepia(100%);
filter: sepia(100%);
}
.sepia-img:hover {
-webkit-filter: sepia(0);
filter: sepia(0);
}
}