react模拟一个手机滑屏解锁进入桌面效果代码

代码语言:html

所属分类:其他

代码描述:react模拟一个手机滑屏解锁进入桌面效果代码

代码标签: react 手机 滑屏 解锁

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/icon-font.min.css">
<style>
@import 'https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400';
@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300';
@-webkit-keyframes slidetounlock {
  0% {
    background-position: -230% 0;
  }
  100% {
    background-position: 230% 0;
  }
}
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.25);
  background-image: url(//repo.bfw.wiki/bfwrepo/image/5f24e1feda734.png);
  font-family: "Roboto Condensed";
  font-size: 16px;
}

.device {
  position: relative;
  width: 320px;
  height: 568px;
  background: #000;
  box-shadow: 9px 7px 40px -6px rgba(0, 0, 0, 0.25);
  background-position: center center;
  background-size: cover;
  overflow:.........完整代码请登录后点击上方下载按钮下载查看

网友评论0