css实现立体质感菜单悬浮效果代码
代码语言:html
所属分类:菜单导航
代码描述:css实现立体质感菜单悬浮效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> .menu{ display: flex; flex-direction: column; align-items: center; box-sizing: border-box } .item{ display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100px; width: 300px; font-family: arial; font-size:22px; font-weight:700; color: white; text-transform: uppercase; padding:10px; cursor: pointer; text-decoration: none; background: #424756; border-style: solid; border-width: 1px; border-color: #5A6074 #5A6074 black #5A6074; } .item-selected{ background: #323744; border-width: 0 1px 1px 6px ; border-color: #1D1E22 #5A6074 black tomato; } </style> </head> .........完整代码请登录后点击上方下载按钮下载查看
网友评论0