当前位置: 首页 > news >正文

页面页脚部分CSS分享

先看效果:
在这里插入图片描述
CSS部分:(查看更多)

<style>body {display: grid;grid-template-rows: 1fr 10rem auto;grid-template-areas: "main" "." "footer";overflow-x: hidden;background: #F5F7FA;min-height: 100vh;font-family: "Open Sans", sans-serif;}body .footer {z-index: 1;--footer-background:#ED5565;display: grid;position: relative;grid-area: footer;min-height: 12rem;}body .footer .bubbles {position: absolute;top: 0;left: 0;right: 0;height: 1rem;background: var(--footer-background);filter: url("#blob");}body .footer .bubbles .bubble {position: absolute;left: var(--position, 50%);background: var(--footer-background);border-radius: 100%;-webkit-animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s), bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s), bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);transform: translate(-50%, 100%);}body .footer .content {z-index: 2;display: grid;grid-template-columns: 1fr auto;grid-gap: 4rem;padding: 2rem;background: var(--footer-background);}body .footer .content a, body .footer .content p {color: #F5F7FA;text-decoration: none;}body .footer .content b {color: white;}body .footer .content p {margin: 0;font-size: 0.75rem;}body .footer .content > div {display: flex;flex-direction: column;justify-content: center;}body .footer .content > div > div {margin: 0.25rem 0;}body .footer .content > div > div > * {margin-right: 0.5rem;}body .footer .content > div .image {align-self: center;width: 4rem;height: 4rem;margin: 0.25rem 0;background-size: cover;background-position: center;}@-webkit-keyframes bubble-size {0%, 75% {width: var(--size, 4rem);height: var(--size, 4rem);}100% {width: 0rem;height: 0rem;}}@keyframes bubble-size {0%, 75% {width: var(--size, 4rem);height: var(--size, 4rem);}100% {width: 0rem;height: 0rem;}}@-webkit-keyframes bubble-move {0% {bottom: -4rem;}100% {bottom: var(--distance, 10rem);}}@keyframes bubble-move {0% {bottom: -4rem;}100% {bottom: var(--distance, 10rem);}}
</style>
http://www.lryc.cn/news/154114.html

相关文章:

  • 微信小程序slot插槽的介绍,以及如何通过uniapp使用动态插槽
  • l8-d6 socket套接字及TCP的实现框架
  • ChatGPT AIGC 完成动态堆积面积图实例
  • 虹科产线实时数采检测方案——高速采集助力智能化升级
  • 用迅为RK3568开发板使用OpenCV处理图像颜色通道提取ROI
  • 低压配电室电力安全解决方案
  • 【Windows 常用工具系列 11 -- 笔记本F5亮度调节关闭】
  • Python小知识 - 【Python】如何使用Pytorch构建机器学习模型
  • 使用Akka的Actor模拟Spark的Master和Worker工作机制
  • 文心一言api接入如何在你的项目里使用文心一言
  • Python匿名函数lambda(R与Python第五篇)
  • 【2023校园招聘】 钉钉AI应用开发平台开始校招拉~
  • Linux系统gdb调试常用命令
  • Sumo中Traci.trafficlight详解(上)
  • 手写Mybatis:第13章-通过注解配置执行SQL语句
  • spring security - 快速整合 springboot
  • NPM 常用命令(二)
  • ctfhub ssrf(3关)
  • 跨源资源共享(CORS)Access-Control-Allow-Origin
  • 【嵌入式软件开发 】学习笔记
  • CentOS 7上安装Python 3.11.5,支持Django
  • COMPFEST 15H「组合数学+容斥」
  • react快速开始(三)-create-react-app脚手架项目启动;使用VScode调试react
  • 【C++入门】string类常用方法(万字详解)
  • 大数据错误
  • 【Node.js】Express-Generator:快速生成Express应用程序的利器
  • SpringMVC的工作流程及入门
  • logging.level的含义及设置 【java 日志 (logback、log4j)】
  • 第 3 章 栈和队列(链栈)
  • 嵌入式面试-经典问题