css变量实现卡片立体倾斜鼠标光照效果代码

代码语言:html

所属分类:悬停

代码描述:css变量实现卡片立体倾斜鼠标光照效果代码

代码标签: 卡片 立体 倾斜 鼠标 光照 效果

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

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

<head>

    <meta charset="UTF-8">




    <style>
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap");
        body {
            overflow: hidden;
        }

        .wrapper {
            height: 100vh;
            width: 100%;
            background-color: #130042;
            display: -webkit-box;
            display: flex;
            -webkit-box-align: center;
            align-items: center;
            -webkit-box-pack: center;
            justify-content: center;
            -webkit-transition: background-color 0.6s;
            transition: background-color 0.6s;
          .........完整代码请登录后点击上方下载按钮下载查看

网友评论0