摘要:
//当file改变的时候,将img的src改为修改后的值 $(".file").change(function(){ f=document.querySelector('.file').files[0]; var reads=new FileReader(); reads.readAsDataURL 阅读全文
posted @ 2022-02-27 16:19
星同学
阅读(62)
评论(0)
推荐(0)
摘要:
$(".tabtext li").click(function(){ $(this).addClass("active").siblings().removeClass("active"); }) 阅读全文
posted @ 2022-02-27 16:15
星同学
阅读(27)
评论(0)
推荐(0)
摘要:
父盒子设置宽高,同时溢出隐藏属性改成 auto .imgsss { width: 600px; height: 300px; border: 0; overflow: auto; } 子盒子样式如下: .imgs2{ width: auto; max-width: 100%; } 阅读全文
posted @ 2022-02-27 16:13
星同学
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号