zoukankan
html css js c++ java
用于WebKit的CSS诀窍图片版
原文来自于这:
http://www.qianduan.net/webkitu002639s-css-know-how-for.html
只是把图片还原了一下:
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <title>用于WebKit的CSS诀窍</title> <style type="text/css"> *{ margin:0; padding:0;} body{font:12px/2 arial; background:#fff;} img{ display:block;} .a{-webkit-transform:rotate(5deg);-webkit-box-shadow:10px 10px 5px #888;} .b{-webkit-transform:scale(0.8);} .b:hover{-webkit-transform:scale(1);} .img_wrap img{-webkit-transform:opacity 1s ease-in-out;} .c, .img_wrap:hover .d{ opacity:1.0;} .img_wrap:hover .c, .d{ opacity:0;} .col{-webkit-column-count:3;-webkit-column-gap:25px;-moz-column-count:3;-moz-column-gap:25px;} .col p{ height:300px;} #boxes div { border: 2px solid black; padding: 10px; margin:5px; 200px; text-align:center; background:#eee; } #box1{z-index:100;position:absolute;top:5px;left:5px;100px;height:250px;padding:5px;-webkit-border-radius:10px;border:2px solid black;background:#dddddd;z-index:200;} #slider{z-index:100;position:absolute;top:30px;left:5px;height:200px;90px;padding-top:10px;padding-left:15px;-webkit-border-radius:10px;border:1px solid black;background:#eeeeee;-webkit-transition:-webkit-transform 0.5s ease-in;} </style> </head> <body> <img class="a" src="http://i5.vanclimg.com/users/18/20120814/focus_tz_120815.jpg" alt="" /> <img class="b" src="http://i5.vanclimg.com/users/18/20120810/focus_xb_120810.jpg" alt="" /> <div class="img_wrap"> <img class="c" style="position:absolute;" src="http://i5.vanclimg.com/users/18/20120810/focus_xb_120810.jpg" alt="" /> <img class="d" src="http://i2.vanclimg.com/users/18/20120809/focus_nz_120809.jpg" alt="" /> </div> <div class="col"> <p>column A</p> <p>column B</p> <p>column C</p> </div> <div id="boxes"> <div style="-webkit-border-radius:15px;"> All sides </div> <div style="-webkit-border-bottom-left-radius:15px;-webkit-border-top-right-radius:15px;"> Opposite corners </div> <div style="-webkit-border-top-left-radius:15px;-webkit-border-top-right-radius:15px;"> Top </div> <div style="-webkit-border-top-right-radius:15px;-webkit-border-bottom-right-radius:15px;"> Side </div> </div> <input type="range" style="-webkit-appearance:slider-horizontal;" /><br/><br/> <button style="-webkit-appearance:button;200px;height:30px;">gradient button</button><br/><br/> <button style="-webkit-appearance:push-button;200px;">aqua button</button><br/><br/> <input type="text" style="-webkit-appearance:searchfield;" value="kitten" /></input><br/> <script type="text/javascript"> function popout() { document.getElementById('slider').style.webkitTransform = 'translate(105px,0)'; } </script><div id="slider"> Slider<br/>Content </div> <div id="box1"> <a href="javascript:popout();">Popout</a> </div> </body> </html>
运行代码
查看全文
相关阅读:
Python采用struct处理二进制
OVS处理upcall流程分析
mybatis在CRUD
leetcode先刷_Valid Sudoku
[TS] Implement a doubly linked list in TypeScript
[TS] Implement a singly linked list in TypeScript
[Python] The get() method on Python dicts and its "default" arg
[Javascript AST] 4. Continue: Report ESLint error
[RxJS] Learn How To Use RxJS 5.5 Beta 2
[NPM] Update published npm packages using np
原文地址:https://www.cnblogs.com/jikey/p/2639630.html
最新文章
非常好的数据挖掘面经
手写一些题目
数据库第一二三范式复习
跟风记录一个知乎热门讨论-腾讯/阿里/百度哪个部门最值得加入
【科研论文】适用于生产现场的点焊动态电阻提取方法
冒泡排序2
Extjs4.0.7 实现Grid的嵌套
uvalive 2088
采用DWR、maven保存数据到数据库
UVA 10404 Bachet's Game(dp + 博弈?)
热门文章
在mysql数据库中关于日期时间字段的处理
[置顶] 2013暑假总结-廊坊人才人事档案管理软件
hdu 4465 Candy(2012 ACM-ICPC 成都现场赛)
进程管理
effective c++ 条款7
window.url.createobjecturl 兼容多种浏览器(IE,google,360,Safari,firefox)
收集 天创恒达高清采集卡TC-5A0N7
XMPP开发adiumclient登陆
Codeforces 106D Treasure Island 预处理前缀+暴力(水
ANDROID L——RecyclerView,CardView进口和使用(Demo)
Copyright © 2011-2022 走看看