Skip to content

Conversation

@ji40709
Copy link

@ji40709 ji40709 commented Jul 26, 2017

No description provided.

<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">

<img src="http://fakeimg.pl/360x360/" class="img-rounded col-xs-12 col-sm-6 col-md-4 col-lg-3">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一般是會把logo圖片放在<a class="navbar-brand"></a>裡面歐,像這樣沒有用<div class="row"></div>的方式包起來,雖然可以控制圖片大小但是比較不建議使用歐,可能容易有跑版的問題。只是如果放在<a class="navbar-brand"></a>會遇到的問題就是圖片不會自適應,因此建議一開始就用尺寸小一點的圖片,或是透過css控制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants