css实现简洁网站结构图效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现简洁网站结构图效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> /* ------------------------------------------------------------ Reset Styles (from meyerweb.com) ------------------------------------------------------------ */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } /* ------------------------------------------------------------ NUMBER OF COLUMNS: Adjust #primaryNav li to set the number of columns required in your site map. The default is 4 columns (25%). 5 columns would be 20%, 6 columns would be 16.6%, etc. ------------------------------------------------------------ */ #primaryNav li { width:25%; } #primaryNav li ul li { width:100% !important; } #primaryNav.col1 li { width:99.9%; } #primaryNav.col2 li { width:50.0%; } #primaryNav.col3 li { width:33.3%; } #primaryNav.col4 li { width:25.0%; } #primaryNav.col5 li { width:20.0%; } #primaryNav.col6 li { width:16.6%; } #primaryNav.col7 li { width:14.2%; } #primaryNav.col8 li { width:12.5%; } #primaryNav.col9 li { width:11.1%; } #primaryNav.col10 li { width:10.0%;.........完整代码请登录后点击上方下载按钮下载查看
网友评论0