css模拟相机快门按下拍照变成照片效果代码
代码语言:html
所属分类:动画
代码描述:css模拟相机快门按下拍照变成照片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css"> <style> html { height: 100%; overflow: hidden; } body { min-height: 100%; } .container { cursor: pointer; background-position: center center; background-size: cover; background-image: url("//repo.bfw.wiki/bfwrepo/image/6032e554eeb71.png"); width: 100vw; height: 100vh; position: relative; } .container:focus {.........完整代码请登录后点击上方下载按钮下载查看
网友评论0