TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pure CSS new 3D effect

252 点作者 texeltexel超过 15 年前
Even better than the 3D Meninas

12 条评论

coderdude超过 15 年前
The other examples on his blog are even cooler... check this out. <a href="http://www.romancortes.com/blog/css-3d-meninas/" rel="nofollow">http://www.romancortes.com/blog/css-3d-meninas/</a>
评论 #1078234 未加载
评论 #1078723 未加载
flog超过 15 年前
Nice effect.<p>I think a bit of JS is being used to create the DIV structure, but that's not important.<p>It could also be improved a bit: you could remove the shading gradient from the Coke can mask PNG, and render the shading using an CSS gradient with RGBA values. That would mimic the specular highlighting, and you could also animate the shading.<p>I still haven't quite grok'd the displacement method though... it must be carefully calculated background x pos offsets? (I don't have firebug on this machine)
评论 #1078014 未加载
评论 #1077982 未加载
middus超过 15 年前
Awesome hack. I don't really have any application for this, though.
评论 #1077578 未加载
评论 #1079543 未加载
评论 #1078319 未加载
citricsquid超过 15 年前
<a href="http://m00d.net/mirror/coke/" rel="nofollow">http://m00d.net/mirror/coke/</a> &#60;- mirrored.
robotron超过 15 年前
This experiment is definitely worthy of a post. I haven't looked at how he did that or the "CSS Bird" shadow effect but I'm impressed that can be done without Javascript.
faramarz超过 15 年前
Very cool. My question is.. how did he scan the coke-can? <a href="http://www.romancortes.com/ficheros/coke-label.jpg" rel="nofollow">http://www.romancortes.com/ficheros/coke-label.jpg</a>
评论 #1079076 未加载
评论 #1085974 未加载
nobosh超过 15 年前
This is slick. I wonder how long it took to build that image/
polynomial超过 15 年前
PROTIP: Try hiding the the width and the float on p and/or the padding and width on the 'div div' with firebug.
sscheper超过 15 年前
That looks great. No trying to be a dick, but what's the point?
评论 #1078318 未加载
评论 #1078998 未加载
sandGorgon超过 15 年前
wow!
levesque超过 15 年前
Seems cpu intensive :) Server down.
评论 #1078313 未加载
vinhboy超过 15 年前
Wow amazing. Now I feel like a total CSS noob.