css简约网站地图分布结构图效果代码
代码语言:html
所属分类:布局界面
代码描述:css简约网站地图分布结构图效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600|Quicksand); body { background: #292426; font-family: 'Open Sans', sans-serif; color: #4d4e4c; } h1 { font-weight: normal; line-height: 1.1; font-family: 'Quicksand', sans-serif; text-transform: uppercase; font-size: 3em; color: #fff; text-align: center; } .container { width: 850px; margin: 20px auto; } nav ul { margin: 0; padding: 0; list-style-type: none; } .sitemap { width: 692px; margin: 50px auto; } .sitemap a { color: #000; text-decoration: none; display: inline-block; text-transform: uppercase; margin: 0 5px; border-radius: 7px; text-align: center; position: relative; } .first > li > a { background: #b4b5b4; width: 150px; height: 70px; line-height: 70px; display: block; margin: auto; } .first > li > a:after { content: ""; position: absolute; left: 50%; width: 1px; height: 10px; background: #9e9f9e; top: 100%; } .second { padding-top: 20px; } .second > li { display: inline-block; vertical-align: top; } .second a { background: #cbcccb; font-size: 14px; width: 125px; height: 50px; line-height: 50px; z-index: 10; } .second a:before { content: ""; position: absolute; border: 1px solid #9e9f9e; border-left: none; border-bottom: none; height: 9px; top: -10px; left: -76px; width: 139px; } .second li:first-child a:before { border-top: none; } .third { margin-left: 16px; padding-top: 20px; } .third a { background: #e4e4e3; width: 100px; height: 40px; line-height: 40px; margin-bottom: 10px; z-index: 5; font-size: 10px; } .third a:before { border: 1px solid #9e9f9e; border-right: none; border-top: none; height: 55px; top: -35px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0