|
楼主 |
发表于 2025-3-28 00:36:41
|
显示全部楼层
<style>
:root {--w:1800px;--h:454px;}
#oBlk {
margin-left: 50% ; left:calc(-0.5 * var(--w));
margin-top:50px;
width: var(--w);
height: var(--h);
box-shadow: 3px 3px 10px #000;
overflow: hidden;
position: absolute;
}
#oBlk::before,
#oBlk::after {
position: absolute;
content: '';
left: var(--curX0);
top: 0px;
width: 100%;
height: 100%;
background: url('https://cccimg.com/view.php/a93f4e0a2c9e8182795323b8092563aa.jpg') no-repeat center / cover;
}
#oBlk::after {
left: var(--curX1);
transform: scaleX(-1);
}
#comp {height:calc(var(--h) + 100px);}
</style>
<div id="oBlk"></div>
<div id="comp"></div>
<script>
{
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('5 4=6.g;5 7=1.0,8=0,2=0,3=4,b;5 9=()=>{2-=7;3-=7;a(2<=-4)2=4;a(3<=-4)3=4;8=3+(2>=0?1:-1);6.c.d(\'--2\',2+\'e\');6.c.d(\'--3\',8+\'e\');b=f(9)};9();',17,17,'||curX0|curX1|blkWidth|let|oBlk|step|tune|moving|if|raf|style|setProperty|px|requestAnimationFrame|offsetWidth'.split('|'),0,{}))
}
</script>
|
|