div+css实现暗色手机密码输入解锁效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现暗色手机密码输入解锁效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap'> <style> * { box-sizing: border-box; margin: 0; padding: 0; } body { background-image: linear-gradient(24deg, #18013c 8%, #8536fb); font-family: "Open Sans", sans-serif; background-size: 100% 100vh; color: #c5c5ff; } .box-button { width: 186px; margin: auto; margin-top: 50px; } .line { display: flex; justify-content: space-between; margin-bottom: 9px; } .line:last-child { margin-bottom: 0; } .button { display: flex; width: 50px; height: 50px; border-radius: 100%; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; transition: 0.1s; } .button svg { width: 18px; height: auto; } .button:active { background-color: #261748; } .box-status { display: flex; width: 105px; margin: auto; justify-content: space-between; margin-top: 50px; } .status { background: #303147; width: 16px; height: 16px; border-radius: 100%; border: 1px solid #c5c5ff; } .title { text-align: center; font-size: 0.6rem; margin-top: 50px; } .header { width: 120px; height: 16px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0