Neumorphism新拟态设计秒表计时器效果代码
代码语言:html
所属分类:表单美化
代码描述:Neumorphism新拟态设计秒表计时器效果代码
代码标签: Neumorphism 新拟态 设计 秒表 计时器
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { font-family: arial; background: #e0e0e0; } #mainstopwatch { width: 300px; margin: 100px auto; padding: 60px 50px 100px; text-align: center; font-size: 40px; background: #e0e0e0; box-shadow: 15px 15px 30px #afafaf, -15px -15px 30px #ffffff; border-radius: 38px; background: #e0e0e0; box-shadow: 6px -6px 8px #9d9d9d, -6px 6px 8px #ffffff; } #mainstopwatch span { background: #c7e0f8; color: #0776de; padding: 10px; width: 55px; border-radius: 5px; margin: 3px; display: inline-block; border-radius: 38px; background: #e0e0e0; box-shadow: 6px -6px 8px #9d9d9d, -6px 6px 8px #ffffff; } .maintime{ margin-left: -25px; } #mainstopwatch span{ margin-left: 20px; } #mainstopwatch button:first-of-type { margin-top: 15px; } #mainstopwatch button { font-size: 22px; -webkit-appearance: none; border: none; background-color: #2e80b3; color: white; width: 140px; height: 55px; transition: .3s; border-radius: 33px; box-shadow: 6px -6px 8px #9d9d9d, -6px 6px 8px #ffffff; } #mainstopwatch button:last-child{ background-color: #ae7617; } #mainstopwatch button:hover { background: #333; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0