3d旋转相册,进阶加薪全靠它

  • scc代码段

    @charset “utf-8”;

    *{

    margin:0;

    padding:0;

    }

    body{

    /background: url(…/img/preview.png) ;/

    max-width: 100%;

    min-width: 100%;

    height: 100%;

    background-size: cover;

    background-repeat: no-repeat;

    background-attachment: fixed;

    background-size:100% 100%;

    position: absolute;

    margin-left: auto;

    margin-right: auto;

    }

    li{

    list-style: none;

    }

    .box{

    width:200px;

    height:200px;

    background-size: cover;

    background-repeat: no-repeat;

    background-attachment: fixed;

    background-size:100% 100%;

    position: absolute;

    margin-left: 42%;

    margin-top: 22%;

    transform-style:preserve-3d;

    transform:rotateX(13deg);

    animation:move 5s linear infinite;

    }

    .minbox{

    width:100px;

    height:100px;

    position: absolute;

    left:50px;

    top:30px;

    transform-style:preserve-3d;

    }

    .minbox li{

    width:100px;

    height:100px;

    position: absolute;

    left:0;

    top:0;

    }

    .minbox li:nth-child(1){

    background: url(…/img/01.jpg) no-repeat 0 0;

    transform:translateZ(50px);

    }

    .minbox li:nth-child(2){

    background: url(…/img/02.jpg) no-repeat 0 0;

    transform:rotateX(180deg) translateZ(50px);

    }

    .minbox li:nth-child(3){

    background: url(…/img/03.png) no-repeat 0 0;

    transform:rotateX(-90deg) translateZ(50px);

    }

    .minbox li:nth-child(4){

    background: url(…/img/04.jpg) no-repeat 0 0;

    transform:rotateX(90deg) translateZ(50px);

    }

    .minbox li:nth-child(5){

    background: url(…/img/05.jpg) no-repeat 0 0;

    transform:rotateY(-90deg) translateZ(50px);

    }

    .minbox li:nth-child(6){

    background: url(…/img/06.jpg) no-repeat 0 0;

    transform:rotateY(90deg) translateZ(50px);

    }

    .maxbox li:nth-child(1){

    background: url(…/img/1.jpg) no-repeat 0 0;

    transform:translateZ(50px);

    }

    .maxbox li:nth-child(2){

    background: url(…/img/2.jpg) no-repeat 0 0;

    transform:translateZ(50px);

    }

    .maxbox li:nth-child(3){

    background: url(…/img/3.jpg) no-repeat 0 0;

    transform:rotateX(-90deg) translateZ(50px);

    }

    .maxbox li:nth-child(4){

    background: url(…/img/4.jpg) no-repeat 0 0;

    transform:rotateX(90deg) translateZ(50px);

    }

    .maxbox li:nth-child(5){

    background: url(…/img/5.jpg) no-repeat 0 0;

    transform:rotateY(-90deg) translateZ(50px);

    }

    .maxbox li:nth-child(6){

    background: url(…/img/6.jpg) no-repeat 0 0;

    transform:rotateY(90deg) translateZ(50px);

    }

    小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

    深知大多数初中级前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
    因此收集整理了一份《2024年Web前端开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。

    img
    img
    img
    img

    由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频

    如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注:前端)
    img

    打开全栈工匠技能包-1小时轻松掌握SSR

    两小时精通jq+bs插件开发

    生产环境下如歌部署Node.js

    开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】

    网易内部VUE自定义插件库NPM集成

    谁说前端不用懂安全,XSS跨站脚本的危害

    webpack的loader到底是什么样的?两小时带你写一个自己loader

    qcGc?x-oss-process=image/format,png)

    谁说前端不用懂安全,XSS跨站脚本的危害

    webpack的loader到底是什么样的?两小时带你写一个自己loader

  • 27
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值