css实现图文卡片点击放大效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现图文卡片点击放大效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" user-scalable="no">
<style>
html, body {
min-height: 100%;
background: #4eac84;
line-height: 24px;
}
* {
margin: 0;
padding: 0;
font-size: 12px;
}
ul {
list-style: none;
}
.hide {
display: none;
}
.lf {
float: left;
}
.lr {
float: right;
}
.red, .red a,.red a h5, .red a p {
color: #FF0000 !important;
}
a {
text-decoration: none;
color: inherit;
}
.mr2 {
margin-right: 1rem;
}
.ml2 {
margin-left: 1rem;
}
p {
text-indent: 24px;
text-align: left;
}
.article-title {
font-size: 2.3rem;
color: #333;
line-height: 1;
text-align: center;
letter-spacing: 0.025em;
transition: font-size 0.45s ease-in-out, color 0.2s ease-out;
}
.header-image {
margin-bottom: 2rem;
position: relative;
transition: all .........完整代码请登录后点击上方下载按钮下载查看
网友评论0