div+css布局文章卡片列表悬浮动画效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局文章卡片列表悬浮动画效果代码,鼠标放上去试试。

代码标签: div css 布局 文章 卡片 列表 悬浮 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
<style>
    @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;800&display=swap");
html {
  font-size: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  height: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  background: #22223a;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #ffffff;
  margin: 0;
  height: 100%;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
  margin-top: 40px;
}

.ro.........完整代码请登录后点击上方下载按钮下载查看

网友评论0