音乐播放器ui布局效果
代码语言:html
所属分类:布局界面
代码描述:音乐播放器ui布局效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background-color: #e5edf2; } .footer { text-align: center; } a { color: #8f95a4; } .phone { width: 375px; height: 812px; background-color: #f1f8fd; position: relative; border-radius: 40px; margin: 30px auto; box-shadow: 20px 20px 30px 0 rgba(0,0,0,0.1); } .phone::after { content: ''; width: 135px; height: 6px; background-color: #c8d4dd; border-radius: 3px; display: block; position: absolute; bottom: 9px; left: 50%; margin-left: -67.5px; } .inner { padding: 40px 24px 0 24px; display: flex; flex-direction: column; align-items: center; } .header { align-self: stretch; display: flex; justify-content: space-between; } .title { margin: 0; line-height: 32px; font-size: 16px; color: #222e51; } .button { width: 32px; height: 32px; background-color: #f1f8fd; padding: 8px; border-radius: 8px; border: none; outline: none; cursor: pointer; color: #222e51; box-shadow: 6px 6px 6px rgba(0,0,0,0.05), -6px -6px 6px rgba(255,255,255,0.6), inset 2px 2px 5px rgba(0,0,0,0.03), inset -2px -2px 5px rgba(255,255,255,0.4); transition: all 0.3s; } .button:hover { box-shadow: 6px 6px 6px rgba(0,0,0,0.05), -6px -6px 6px rgba(255,255,255,0.6), inset 3px 3px 3px rgba(0,0,0,0.03), inset -3px -3px 3px rgba(255,255,255,0.4); } .button:active { box-shadow: 6px 6px 6px rgba(0,0,0,0.05), -6px -6px 6px rgba(255,255,255,0.6), inset 8px 8px 8px rgba(0,0,0,0.05), inset -8px -8px 8px rgba(255,255,255,0.6); } .cover { position: relative; width: 320px; height: 320px; border-radiu.........完整代码请登录后点击上方下载按钮下载查看
网友评论0