svg+css实现一张图片实现更换00汽车效果代码

代码语言:html

所属分类:布局界面

代码描述:svg+css实现一张图片实现更换00汽车效果代码

代码标签: 图片 实现 更换 00 汽车 效果

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

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

<head>

    <meta charset="UTF-8">

    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.min.css">

    <style>
        body,
        html {
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
        }

        *,
        *:before,
        *:after {
            box-sizing: border-box;
        }

        .container {
            height: 100%;
            width: 100%;
        }
        .container svg {
            position: relative;
            z-index: 2;
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: 50%;
            mix-blend-mode: multiply;
        }
        .container svg.shiny {
            mix-blend-mode: color-burn;
        }
        .container.........完整代码请登录后点击上方下载按钮下载查看

网友评论0