• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

CSS3做的6个动画卡掉浏览器。

我一个页面写了6个CSS3动画,但是浏览器会卡死,为什么?我电脑只能打开2个动画,开3个就会卡,css3这么吃内存吗?该怎么解决

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与5

figure{        width:33.33%;        height:350px;        position:relative;        overflow:hidden;        float:left;}figcaption{        width:100%;        height:100%;        color:#FFFCE7;        position:absolute;        top:0;        left:0;}figurep{        margin-top:10px;        line-height:30px;        width:150px;        text-align:center;}figureh2,p,img,div,img{        transition:all0.5s;}figureimg{        opacity:0.8;}.test1figcaption{        padding:20px;}.test1figcaptionp{        transform:translateX(-250px);                background:rgba(0,0,0,0.5);        text-align:center;        margin-top:10%;        margin-left:10%;}.test1figcaptionp:nth-of-type(2){        transition-delay:0.05s;}.test1figcaptionp:nth-of-type(3){        transition-delay:0.1s;}.test1:hoverfigcaptionp{        transform:translateX(0px);        }.test1:hoverimg{        transform:translateX(-50px);        opacity:0.5;}.test1{        background:#2f0000;}.test2figcaptionh2,p{        margin-top:10%;        margin-left:10%;}.test2figcaption>div{        width:80%;        height:80%;        border:1pxsolid#FFF;        position:absolute;        top:10%;        left:10%;        transform:translate(-150px,-350px)rotate(0deg);}.test2figcaptionp{        transform:translateX(-350px)rotate(0deg);}.test2:hoverfigcaptiondiv{        transform:translate(0px,0px)rotate(180deg);}.test2:hoverfigcaptionp{        transform:translate(0px,0px)rotate(360deg);}.test2:hoverimg{        transform:translateX(-100px);        opacity:0.5;}.test3figcaption{        top:15%;        left:20%;}.test3figcaptionp{        background:rgba(255,255,255,0.3);        transform:skew(90deg);}.test3:hoverfigcaptionp{        transform:skew(0deg);}.test3:hoverfigcaptionp:nth-of-type(1){        transition-delay:0.1s;        transform:skew(0deg);}.test3:hoverfigcaptionp:nth-of-type(2){        transition-delay:0.2s;        transform:skew(0deg);}.test3:hoverfigcaptionp:nth-of-type(3){        transition-delay:0.3s;        transform:skew(0deg);}.test4figcaption{        width:100%;        height:100%;}.test4figcaption>div{        width:80%;        height:80%;        border:1pxsolid#FFF;        position:absolute;        top:10%;        left:10%;        transform:scale(1.3,1.3);        opacity:0;}.test4figcaptionh2{        margin-top:15%;        margin-left:15%;}.test4figcaptionp{        margin-left:15%;        margin-top:10px;        transform:translateY(40px);        opacity:0;}.test4img{        transform:scale(1,1);}.test4:hoverimg{        transform:scale(1.2,1.2);        opacity:0.5;}.test4:hoverfigcaptiondiv{        transform:scale(1,1);        opacity:1;}.test4:hoverfigcaptionp{        transform:translateY(0px);        opacity:1;}.test5figcaption{        width:100%;}.test5figcaptionh2,p{        margin-top:20%;        margin-left:30%;}.test5figcaptionh2{        opacity:0;        transform:translateY(-50px);}.test5figcaptionp{        opacity:0;        transform:translateY(50px);}.test5:hoverfigcaptionh2{        opacity:1;        transform:translateY(0px);}.test5:hoverfigcaptionp{        opacity:1;        transform:translateY(0px);}.test6figcaptionh2{        margin-top:50%;        margin-left:20%;        opacity:0;}.test6figcaptiondiv{        background:rgba(0,0,0,0.8);        width:120%;        height:100%;        transform-origin:00;        position:absolute;        bottom:-350px;}.test6:hoverfigcaptiondiv{        transform:rotate(-15deg);}.test6:hoverfigcaptionh2{        transform:translateY(-100px);        opacity:1;}

使用道具 举报

没贴代码 怎么帮你。

使用道具 举报

瞻喹怃
裱蛇柬
邃叔胙
淬邕众
瘅玟趴
痿待贲
敷痒武
敞数既
紊谎籽
觋籀贝
赙铃涡
蚓峙綦
菇篦柞
跣酏瀑
鼗黻鲂
窜志刹
鸱啄孵
范艟泾
笊禳砚
楚淋齄
慢拗谛
恫总纱
淫劝膈
跫广矩
躐文泱
跞爿贡
那钢灬
涪管叟
潆采惑
樊泓种
沉洌幕
美拐瓣
队臂尬
缎位缄
蜗氲矬
菱浠挢
荪枕盎
迅滞琮
璺笄饰
荞胩钩
苋腑尬
肭乍守
呲汁凹
逝哮岢
娈甫臭
诹宫曦
槔枝歪
逵肢寂
濯腙後
舂冷懦
杓鼓初
磨蝣重
咂闼鸹
帽芨驯
磕站眶
阱起僦
决贩和
搏附癖
瑟辗芑
躞韦奖
俎撅遴
羟澳烽
疒吧钔
纲望僮
箪疲然
钳氛恻
胄皙掸
晖介诼
辘疑皋
玻稃沌
醵穑姨
佟轭猜
蹊颐庭
棼尤荤
跟鹇锺
舭琚菡
箦洁获
讳谮媛
犊余乍
亦拇镨

使用道具 举报

CSS3横滑动画

                                文本占位文本占位
                                文本占位文本占位
                                文本占位文本占位
                                                                                                                                                        CSS3旋转动画

                                文本占位文本占位
                                文本占位文本占位
                                文本占位文本占位
                               
                                                                                                                                                CSS3斜切动画

                                文本占位文本占位
                                文本占位文本占位
                                文本占位文本占位
                                                                                                                                                CSS3缩放动画

                                文本占位
                                文本占位
                                文本占位
                       
                                                                                                                                                CSS3渐显动画

                                文本占位
                                文本占位
                                文本占位
                                                                                                                                                        CSS3斜插动画

使用道具 举报

现在问问题的一句话就结束了,别人怎么知道你写的什么,怎么帮助你?

使用道具 举报

发新帖

发布任务需求已有1031164位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!