div+css实现图文卡片悬浮上升动画效果代码
代码语言:html
所属分类:悬停
代码描述:div+css实现图文卡片悬浮上升动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;600&display=swap"); html { box-sizing: border-box; font-size: 100%; } html, body { height: 100%; } *, *:before, *:after { box-sizing: inherit; } img { max-width: 100%; height: auto; } body { -webkit-text-size-adjust: 100%; font-variant-ligatures: none; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-size: 100%; font-family: "Fira Sans", sans-serif; } h1, h2, h3, h4, h5 { font-weight: 800; margin-top: 0; margin-bottom: 0; } body { display: flex; flex-direction: column; justify-content: center; align-items: cen.........完整代码请登录后点击上方下载按钮下载查看
网友评论0