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>
运行代码
查看全文
相关阅读:
springboot读取配置文件中的集合对象
springboot使用log4j2代替内置log4j
springboot默认日志logback配置解析
centos7.6源码离线安装msyql 5.7.30
使用wget下载出现Unable to establish SSL connection问题的解决方案
在RAC上部署OGG并配置OGG高可用
writeset参数配置探索——究竟在哪个角色上配置参数?
proxySQL with SemiSync
proxySQL with MGR
主从复制直接转换MGR_5.7验证试验
原文地址:https://www.cnblogs.com/jikey/p/2639630.html
最新文章
解决在IDEA中"Cannot find declaration to go to"的问题
解决SpringBoot项目出现Whitelabel Error Page的问题(下)
解决SpringBoot项目出现Whitelabel Error Page的问题(上)
在Eclipse上使用JAX-WS创建Web Service(下)
在Eclipse上使用JAX-WS创建Web Service(上)
各种问题综合一下
.net操作EXCEL
堡垒
ASP.NET Core 3.1 Razor 视图预编译、动态编译
Oracle之表空间扩容
热门文章
net core 配置 IdentityServer4
tfs更换工作区需要清除windows系统的凭据
多个c/c++动态库函数同名冲突解决方法
CentOS6.5升级autoconf版本,解决”Autoconf version 2.64 or higher is required“错误
go 入门之路
知识图谱汇总
JavaScript引擎浅析
gitHub上如何设置或者取消电子邮箱提醒
【js】--获取开始时间 和 截止时间中间的所有时间
leetcode.1. 两数之和
Copyright © 2011-2022 走看看