随笔分类 - css
摘要:http://wrongwaycn.github.com/bootstrap/docs/components.html#buttonGroupsbootstrap 中文介绍
阅读全文
摘要:一、、#header h1 a{display:block;text-indent:-9999em;background:(images/logo.png) no-repeat 0 0;height:87px;width:250px;}看得懂这个吗? 我看到很多们都LOGO都只是用图片代替,而没有链接。其他,只需要更简单的方法,利用图像替换文本的方法,显示LOGO,并拥有链接。各个值的功能display:block; – a的默认状态是inline的,需要让它变成块状的,才可能定义高度和宽度,以适应LOGO的宽高。另外的一个功能是,让链接在text-indent后,在原区域可点击。text-i
阅读全文

浙公网安备 33010602011771号