vanilla-tilt实现视觉差异鱼效果代码
代码语言:html
所属分类:视觉差异
代码描述:vanilla-tilt实现视觉差异鱼效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background-color: #003959; } .water { max-width: 600px; height: 500px; position: relative; background: url('//repo.bfw.wiki/bfwrepo/image/5e4c71cd307e7.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_500,h_400,/quality,q_90') no-repeat; background-size: cover; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; border-radius: 30px; margin: 0 auto; } .fish { max-width: 100%; height: auto; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%) translateZ(50px); -moz-transform: tra.........完整代码请登录后点击上方下载按钮下载查看
网友评论0