html样式在ie显示不全,html – CSS3转换在Microsoft Edge(和IE)中显示不佳

相当新的Web开发人员.所以我在我的wordpress网站上有一个

CSS3过渡,在IE和Edge的每个浏览器中都可以正常工作.不确定该怎么做也因为我不能轻易地在我的Mac上测试它.

以下是可能影响事物的片段.第一个是从页面开始.

.jumbotron #name {

margin-left:-200em;

}

.jumbotron #line {

margin-left:-80em;

}

.jumbotron #occupation1, .jumbotron #occupation2 {

margin-left:-190em;

}

@-webkit-keyframes slideInLeft {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(42%, 0, 0);

transform: translate3d(42%, 0, 0);

}

}

@keyframes slideInLeft {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(42%, 0, 0);

transform: translate3d(42%, 0, 0);

}

}

@-webkit-keyframes slideInLeftLine {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(315%, 0, 0);

transform: translate3d(315%, 0, 0);

}

}

@keyframes slideInLeftLine {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(315%, 0, 0);

transform: translate3d(315%, 0, 0);

}

}

@-webkit-keyframes slideInLeft2 {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(43%, 0, 0);

transform: translate3d(43%, 0, 0);

}

}

@keyframes slideInLeft2 {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(43%, 0, 0);

transform: translate3d(43%, 0, 0);

}

}

@-webkit-keyframes slideInLeft3 {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(45%, 0, 0);

transform: translate3d(45%, 0, 0);

}

}

@keyframes slideInLeft3 {

from {

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

visibility: visible;

}

to {

-webkit-transform: translate3d(45%, 0, 0);

transform: translate3d(45%, 0, 0);

}

}

.slideInLeft3 {

-webkit-animation-name: slideInLeft3;

animation-name: slideInLeft3;

}

.slideInLeft {

-webkit-animation-name: slideInLeft;

animation-name: slideInLeft;

}

.slideInLeft2 {

-webkit-animation-name: slideInLeft2;

animation-name: slideInLeft2;

}

.slideInLeftLine {

-webkit-animation-name: slideInLeftLine;

animation-name: slideInLeftLine;

}

#name {

opacity:1;

animation: slideInLeft 2s 1;

-webkit-animation: slideInLeft 2s 1;

-moz-animation: slideInLeft 2s 1;

-webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */

animation-fill-mode: forwards;

}

#line {

opacity:1;

animation: slideInLeftLine 2s 1;

-webkit-animation: slideInLeftLine 2s 1;

-moz-animation: slideInLeftLine 2s 1;

-webkit-animation-delay: 2s; /* Chrome, Safari, Opera */

animation-delay: 2s;

-webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */

animation-fill-mode: forwards;

}

#occupation2 {

animation: slideInLeft3 2s 1;

-webkit-animation: slideInLeft3 2s 1;

-moz-animation: slideInLeft3 2s 1;

-webkit-animation-delay: 5s; /* Chrome, Safari, Opera */

animation-delay: 5s;

-webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */

animation-fill-mode: forwards;

}

#occupation1 {

animation: slideInLeft2 2s 1;

-webkit-animation: slideInLeft2 2s 1;

-moz-animation: slideInLeft2 2s 1;

-webkit-animation-delay: 3s; /* Chrome, Safari, Opera */

animation-delay: 3s;

-webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */

animation-fill-mode: forwards;

}

真的只是#line是我遇到麻烦的那个.这可能是因为边缘功能与边缘不同,即?我知道网站上的简历也没有在页面中显示中心.我把site放在一个子目录上,你想看到它.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值