js+css实现卡片编辑放大缩写钉住效果代码

代码语言:html

所属分类:其他

代码描述:js+css实现卡片编辑放大缩写钉住效果代码

代码标签: js css 卡片 编辑 放大 缩写 钉住

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


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;600&display=swap" rel="stylesheet">
  
  
  
<style>
:root {
  --wrapperSize: 1000px;
}
body {
  display: flex;
  inset: 0;
  position: absolute;
  margin: 0;
  align-items: center;
  justify-content: center;
  background-color: rgb(247, 247, 247);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.3;
  font-size: 16px;
  color: #333;
  overflow-x: hidden;
}
.grid-item {
  position: relative;
  top: unset;
  z-index: unset;
  width: calc(var(--wrapperSize) / 4 - 20px - 48px);
  height: calc(var(--wrapperSize) / 4 - 20px - 48px);
  margin: 10px;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgb(230, 230, 230),
    rgba(1.........完整代码请登录后点击上方下载按钮下载查看

网友评论0