我不知道这部法律如何写进。
How do I do that here? https://jsfiddle.net/37qob51s/
I tried asking AI, but it wasn t able to help.
Anyone know how this would be done?
我被告知可以这样做。
我正在做的是,将<条码>直截了当: 1;条码>改为<条码>。 56.25%;。
:root {
--color-a: #1155cc;
--color-b: black;
--color-c: #1155cc;
--color-d: black;
}
html,
body {
margin: 0;
padding: 0;
}
body {
background: #121212;
padding: 50px 8px;
}
.panel-left,
.panel-right {
position: fixed;
height: 100%;
width: 50%;
top: 0%;
overflow: hidden;
z-index: 0;
transform: translateX(0);
transition: transform 3s cubic-bezier(0.645, 0.045, 0.355, 1);
transition-delay: 1s;
}
.panel-left {
left: 0;
}
.panel-right {
right: 0;
}
.panel-left::before,
.panel-right::before {
content: "";
position: fixed;
height: 100%;
width: 200%;
top: 0;
left: 0;
background: black;
}
.panel-right::before {
left: -100%;
}
body:hover .panel-left {
transform: translateX(-100%);
}
body:hover .panel-right {
transform: translateX(100%);
}
.inner {
height: 100%;
width: 200%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: auto;
}
.panel-right .inner {
left: -100%;
}
.inner span,
.inner span:before,
.inner span:after,
.inner:before,
.inner:after {
aspect-ratio: 1;
margin: auto;
height: 100%;
}
.inner:before {
content: "";
background: url(https://i.imgur.com/z5MMJnv.png);
}
.inner:after {
content: "";
background: url(https://i.imgur.com/8Jf8LLc.png);
}
.inner span {
background: url(https://i.imgur.com/5u16syR.png);
position: relative;
}
.inner span:before,
.inner span:after {
content: "";
display: block;
position: absolute;
inset: 0 0 0 0;
}
.inner span:before {
background: url(https://i.imgur.com/ygTtvme.png);
transform: translateX(-99.99%);
}
.inner span:after {
background: url(https://i.imgur.com/QziKNDW.png);
transform: translateX(99.99%);
}
.inner span,
.inner span:before,
.inner span:after,
.inner:before,
.inner:after {
background-size: cover;
}
<div class="panel-left">
<div class="inner"><span></span></div>
</div>
<div class="panel-right">
<div class="inner"><span></span></div>
</div>