首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
Can I use?
›
http://caniuse.com/
Less
›
http://lesscss.org
Cool Libraries
›
Bootstrap from Twitter
›
Jetstrap
广告
V2EX
›
CSS
像这样的hover遮罩可以用纯CSS做么?
INT21H
·
2012 年 7 月 5 日
· 5117 次点击
这是一个创建于 4944 天前的主题,其中的信息可能已经有所发展或是发生改变。
http://pp.163.com/square
下面的社区推荐里的那些小方框,hover时候有说明,可以用纯CSS做到么?有木有人给个源码什么的?
吾辈前端的确不会。。
用纯
hover
CSS
14 条回复
•
1970-01-01 08:00:00 +08:00
1
Kaiyuan
2012 年 7 月 5 日
1
https://gist.github.com/3051472
利用 CSS3 中 transition 可以实现动画。
浮动可以控制元素坐标。
2
cutehalo
2012 年 7 月 5 日
gist要咋发来着。。。试试楼上的
https://gist.github.com/3051472.js
3
cutehalo
2012 年 7 月 5 日
o(≧口≦)o 不对诶
难道是
<script src="
https://gist.github.com/3051472.js
"> </script>
4
cutehalo
2012 年 7 月 5 日
https://gist.github.com/3051472
5
cutehalo
2012 年 7 月 5 日
1
好吧…… ╮(╯-╰)╭ 我是悲剧
@
livid
到底要咋发啊...
6
INT21H
OP
2012 年 7 月 5 日
@
cutehalo
你好可爱。。 > <
7
cutehalo
2012 年 7 月 5 日
@
INT21H
大概明白了 好像是
http://gist.github.com/3051472
8
fanzeyi
2012 年 7 月 5 日
1
@
cutehalo
https 改成 http 然后贴 gist 的 link ,并且必须是 Public 的 gist ,比如:
http://gist.github.com/3051472
9
cutehalo
2012 年 7 月 5 日
@
fanzeyi
我刚刚搜到了 XD
10
besteric
2012 年 7 月 5 日
发现贴代码把border撑开了...
11
romoo
2012 年 7 月 5 日
@
fanzeyi
不是 Public Gist 也可以的。
12
fanzeyi
2012 年 7 月 5 日
@
romoo
不可以的
比如
http://gist.github.com/8e9cf0635d9fbf2d45ca
?
13
romoo
2012 年 7 月 5 日
http://gist.github.com/e3c46e636af644814da9
14
romoo
2012 年 7 月 5 日
@
fanzeyi
还真是,可以访问,但是不能显示。
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
1983 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 00:02
·
PVG 08:02
·
LAX 16:02
·
JFK 19:02
♥ Do have faith in what you're doing.
❯