首页 相关文章 纯CSS制作简洁的垂直导航

纯CSS制作简洁的垂直导航

CSS代码
以下是引用片段:/* common styling */ /* set up the overall width of the menu div, the font and the margins */ .menu { font-family: arial, sans-serif; width:750px; margin:0; margin:50px 0; } /* remove the bullets and set the margin and padding to zero for the unordered list */ .menu ul { padding:0; margin:0; list-style-type: none; } /* 浮动列表,因此可以让items在一行上,并且他们的相对定位可以让下面的列表显示在正确的位置上*/ .menu ul li { float:left; position:relative; } /* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the backgrou...[ 查看全文 ]

2016-02-19 标签:

纯CSS制作简洁的垂直导航的相关文章

如果您有什么好的建议或者疑问,可以联系我们。 商务合作QQ:3272218541;3282258740。商务合作微信:13319608704;13319603564。

加好友请备注机构名称。让我们一起学习、一起进步tulaoshi.com 版权所有 © 2019 All Rights Reserved. 湘ICP备19009391号-3

微信公众号

手机页面
收藏网站 回到头部