isolde实现带有过滤分组的瀑布流图文效果代码
代码语言:html
所属分类:瀑布流
代码描述:isolde实现带有过滤分组的瀑布流图文效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content=" ie=Edge">
<style>
:root{
--main-bg-color: #ff7675;
}
*,
*::after,
*::before{
box-sizing: border-box;
}
html{
font-size: .625em;
font-size: calc(1em * .625);
background: #f4f4f4;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body{
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
padding: 0;
font: normal 300 1.4em / 1.2 'Open-sans', helvetica, sans-serif;
color: #111;
}
a{
text-decoration: none;
color: #111;
cursor: pointer;
}
ol,
ul{
list-style: none;
margin: 0;
padding: 0;
}
img{
max-width: 100%;
}
b,
strong{
font-weight: 600;
}
hr{
background: #111;
box-shadow: none;
border: none;
height: 1px;
width: 100%;
margin: 10px 0;
}
::selection{
background: var(--main-bg-color);
color: #fff;
}
::-moz-selection{
background: var(--main-bg-color);
color: #fff;
}
.container{
width: 100%;
max-width: 980px;
margin: 0 auto;
padding: 0 10px;
}
.wrapper{
padding: 40px 0;
}
.card{
background: #fff;
border-radius: 6px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, .1);
display: flex;
flex-direction: column;
transition: box-shadow .2s ease-in-out;
}
.card__picture{
display: block;
width: 100%;
height: auto;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.card-infos{
padding: 20px;
background: #fff;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
.card__title{
font-family: 'Hind';
font-size: 1.8rem;
font-weight: 600;
line-height: 1.4;
margin: 0 0 10px;
}
.card__text{
font-size: 1.4rem;
font-weight: 300;
margin: 0;
color: #86888A;
}
.card__text--high{
font-weight: 600;
}
.header{
background: var(--main-bg-color);
height: 160px;
display: flex;
}
.header__title{
margin: auto;
font-weight: 300;
font-size: 3.2rem;
color: #fff;
}
.header__title--high{
font-weig.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0