简体   繁体   English

Twitter Bootstrap:导航栏顶部的徽标?

[英]Twitter Bootstrap : logo on top of navbar ?

Im using twitter bootstrap and really enjoy it as im not used to do webpages. 我使用twitter引导程序,并且非常喜欢它,因为我不习惯做网页。 Have a question though, i have a round logo and i would like to place it on top of a navbar - like shown on the image. 但是有一个问题,我有一个圆形徽标,我想将其放在导航栏上-如图所示。

I can add an image inside the navbar, but as shown here i somehow want to put it on top of the navbar where as the logo will be larger than the navbar and look like on the picture. 我可以在导航栏内添加图像,但如此处所示,我想以某种方式将其放在导航栏的顶部,因为徽标将比导航栏大,并看起来像图片。

Basically i would like to have a large circle (the logo) where the navbar will go through it in the middle with the logo on top. 基本上,我希望有一个大圆圈(徽标),导航栏将在其中穿过徽标,徽标在顶部。

can this be done ? 能做到吗? thanks 谢谢

edit : cant post pictures :( 编辑:不能张贴图片:(

很难说出没有图像的确切含义,但这只是一个猜测:将徽标添加到导航栏的块内,然后将其设置为CSS文件,将图像设置为具有position: absolute并通过使用来调整位置,例如lefttop

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM