html div转行,HTML div削减其他div

您好我有一个小网页,我的问题是1 div切断了我的第二个div的一部分:

LvE87.png

正如你可以看到3被削减我认为这是一个CSS问题,但我不知道在哪里......

HTML(只是包含2个div的部分):





* {

cursor: none !important;

overflow: hidden;

}

.number {

height: 60%;

width: 100%;

z-index: 2;

margin: 0;

padding: 0;

text-align: center;

}

h1 {

font-size: 500pt;

margin: 0;

padding:0 background-color: transparent;

}

p {

font-size: 70pt;

margin: 0;

padding: 0;

}

.names {

position: relative;

bottom: 0;

left: 0;

z-index: -1;

margin: 0;

padding: 0;

background-color: rgba(255,255,255,0);

width: 400px;

height: 40%;

text-align: center;

}

body {

background-color: black;

color: white;

font-family: arial;

}

html, body {

margin: 0;

padding: 0;

width: 100%;

height: 100%;

}

.lauftext {

height: 100%;

font-size: 70pt;

}

@keyframes marquee {

0% {

text-indent: 100%

}

100% {

text-indent: -100%

}

}

@-webkit-keyframes marquee {

0% {

text-indent: 100%

}

100% {

text-indent: -100%

}

}

.lauftextdiv {

height: 100%;

}

.lauftext {

height: 200pt;

position: absolute;

font-size: 200pt;

top: 50%;

width: 100%;

margin: auto;

padding: 2px;

overflow: hidden;

white-space: nowrap;

animation: marquee 7s linear infinite;

webkit-animation: marquee 7s linear infinite;

}

@keyframes rotate {

from {

transform: rotateY(0deg);

}

to {

transform: rotateY(360deg);

}

}

@-o-keyframes rotate {

from {

transform: rotateY(0deg);

}

to {

transform: rotateY(360deg);

}

}

@-moz-keyframes rotate {

from {

transform: rotateY(0deg);

}

to {

transform: rotateY(360deg);

}

}

@-webkit-keyframes rotate {

from {

transform: rotateY(0deg);

}

to {

transform: rotateY(360deg);

}

}

.number_full {

text-align: center;

animation: rotate 7s linear infinite;

-webkit-animation: rotate 7s linear infinite;

-o-animation: rotate 7s linear infinite;

-moz-animation: rotate 7s linear infinite;

}

.number_full h1 {

text-shadow: 0 0 100px #777;

transform: rotateX(20deg);

padding: 100px;

font-size: 600pt;

}

3

3

Marc

...





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值