jQuery和css的联合使用,简单的网页效果展示
来源:互联网 发布:淘宝卖家给买家的好评 编辑:程序博客网 时间:2024/06/04 19:52
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> #button:hover{ transform:scale(1,1.5); } #kuang:hover{ transform:scale(1,2); color: red; } .img1{ width: 152px; height: 136px; } .img1:hover{ transform:skew(0,50deg);/*设置当鼠标划过或停到图片上时图片顺时针倾斜25度*/ -ms-transform:skew(0,50deg); /* Internet Explorer 9*/ -moz-transform:skew(0,50deg); /* Firefox */ -webkit-transform:skew(0,50deg); /* Safari 和 Chrome */ -o-transform:skew(0,50deg); } .img2{ width: 152px; height: 136px; } .img3{ width: 152px; height: 136px; } .img3:hover{ transition: transform 1s ease; transform: rotate(-360deg); } .img4{ width: 152px; height: 136px; } .img4:hover{ transform:scale(1,1.5); } .img5{ width: 152px; height: 136px; } .img6{ width: 152px; height: 136px; } .img7{ width: 152px; height: 136px; } .img8{ width: 152px; height: 136px; } .img9{ width: 152px; height: 136px; } .img10{ width: 152px; height: 136px; } </style> </head><body background="qwq.png" width="100%" height="100%"><div style="width:655px;height:40px; margin-top: 172px; margin-left: 385px; "> <input type="text" id="button"; style="width:520px;height:37px;"> <input type="button" id="kuang"; value="百度一下" style="width: 106px; height:43px; background-color: #3388ff; "></div><table style="width:792px; height: 285px; margin-top: 109px; margin-left: 305px; background-color: #3388ff " > <tr> <td> <img src="01.png" class="img1" style="animation: rotate"> <img src="02.png" class="img2"> <img src="03.png" class="img3"> <img src="04.png" class="img4"> <img src="05.png" class="img5"> </td> </tr> <tr> <td> <img src="06.png" class="img6" style="animation: rotate"> <img src="07.png" class="img7"> <img src="09.png" class="img8"> <img src="08.png" class="img9"> <img src="05.png" class="img10"> </td> </tr></table></body></html>
/**
*2图倾斜45度,3图逆时针旋转360,4图变大1.5倍,都是鼠标悬浮在照片时的效果
*
*/
阅读全文
0 0
- jQuery和css的联合使用,简单的网页效果展示
- jquery实现网页中常见的展示列表效果
- 一个简单的网页系统Tour(终结) 和效果展示图
- 简单的 bootstrap 效果展示
- 使用html标签、jQuery-EasyUI和Ext4分别展示json数据的效果
- 使用ListView实现一个简单的学生信息展示效果
- Tablayout的简单使用-单文字+图片文字展示效果
- 简单的网页效果
- 使用CSS进行简单的网页布局
- 纯CSS的图片展示效果.
- Flash 展示JQuery 的Effects 效果
- 使用jquery实现简单的拖动效果
- 使用jQuery实现简单的分页效果
- css精灵和hover伪类的联合使用
- jquery+css实现简单的窥镜效果
- 简单的jquery效果
- 使用HTML5和jQuery插件Quicksand实现一个超酷的星际争霸2兵种分类展示效果
- 企业网站展示补充用Jquery实现简单的动态变化效果
- 【Android】之 布局
- java enum(枚举)使用详解 + 总结
- Linux开机启动过程分析
- python网络爬虫-如何编写代码清洗数据
- CentOS7 重置root密码
- jQuery和css的联合使用,简单的网页效果展示
- OOP小结
- 前备知识 -- 动画requestAnimationFrame
- bzoj 2258: pku2758 Checking the Text 文本校对 hash+二分
- 通过JavaScript代码实现 标题的控制+添加信息
- 机器学习之——自动求导
- win10 磁盘100%
- SpringBoot集成Security(实现自定义表单,自定义验证)
- 国内最火的 HTML、CSS、JavaScript 开源项目 Top 榜,你知多少?