jquery 获取同级元素


$(".userinfo-three:eq(0)").css({
                "width": winWidth * 300 / 1080,
                "top": winWidth * 530 / 1080,
                "left": winWidth * 450 / 1080,
            });
            $(".userinfo-three:eq(1)").css({
                "width": winWidth * 300 / 1080,
                "top": winWidth * 700 / 1080,
                "left": winWidth * 220 / 1080,
            });
            $(".userinfo-three:eq(2)").css({
                "width": winWidth * 300 / 1080,
                "top": winWidth * 780 / 1080,
                "left": winWidth * 670 / 1080,
            });


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM