CSS3-购物车飞入动画
来源:互联网 发布:淘宝义兴张烧鸡 编辑:程序博客网 时间:2024/05/18 03:15
购物车飞入动画:
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> .con{ width: 1000px; height: 700px; border: 1px solid transparent; position:relative; } .che{ width: 200px; height:200px; background-image: url("img/c.jpg"); background-repeat: no-repeat; margin-top: 100px; margin-right: 100px; position: absolute; right: 0px; top: 0px; } .cont{ height: 280px; margin-top: 50%; } .wu1{ width: 200px; height: 250px; margin: 10px; background-image: url("img/10.png"); background-repeat: no-repeat; -webkit-transition: all 1s; float: left; } .wu1:active{ transform: translate(350%,-180%) scale(0.3); opacity:0 } .wu2{ width: 200px; height: 250px; margin: 10px; background-image: url("img/12.png"); background-repeat: no-repeat; -webkit-transition: all 1s; float: left; } .wu2:active{ transform: translate(250%,-180%) scale(0.3); opacity:0 } .wu3{ width: 200px; height: 250px; margin: 10px; background-image: url("img/13.png"); background-repeat: no-repeat; -webkit-transition: all 1s; float: left; } .wu3:active{ transform: translate(140%,-180%) scale(0.3); opacity:0 } .wu4{ width: 200px; height: 250px; margin: 10px; background-image: url("img/13.png"); background-repeat: no-repeat; -webkit-transition: all 1s; float: left; } .wu4:active{ transform: translate(30%,-180%) scale(0.3); opacity:0 } </style></head><body><div class="con"> <div class="che"></div> <div class="cont"> <div class="wu1"></div> <div class="wu2"></div> <div class="wu3"></div> <div class="wu4"></div> </div></div></body><html>
运行结果:
阅读全文
0 0
- CSS3-购物车飞入动画
- jquery 商品飞入购物车的动画
- 购物车飞入的动画效果
- jQuery实现加入购物车飞入动画效果
- Jquery商品飞入购物车动画(全部20行代码)
- jQuery实现加入购物车飞入动画效果
- jQuery实现加入购物车飞入动画效果
- 购物车飞入效果
- 飞入购物车特效
- 商品飞入购物车代码
- CSS3之ToolTip------飞入动画提示框
- 购物车--产品图片飞入购物车
- ios--tableview加入购物车飞入效果
- jquery实现购物车飞入效果
- 仿淘宝购物车飞入效果
- ionic2开发的仿外卖点餐系统(Ionic2+Angular2...包含CSS3飞入购物车效果和各种组件用法)
- html5和CSS3超酷购物车结算动画特效
- jQuery实现商品飞入购物车效果插件
- 一分钟了解“Matlab提取出矩阵中大于某值的元素”
- 图像处理重点总结
- 梯度下降法
- python文件管理
- Java实现-有效的括号序列
- CSS3-购物车飞入动画
- gradle项目与maven项目相互转化(转)
- 设计模式—命令模式(十九)
- Java关于Integer包装类的一个坑
- java-函数
- 一分钟了解““Matlab产生随机整数randi””
- Spring框架中获取连接池的四种方式
- 机器人端(ROS/UBUNTU)开机自启动的方法和步骤
- Git的初始化以及仓库的创建和操作