Open
Conversation
Evafly
reviewed
Aug 10, 2017
| <link href="static/css/index.53b2a3d2.bundle.css" rel="stylesheet"></head> | ||
|
|
||
| <body> | ||
| <aside class="row col-md-3 col-sm-3 bg-info col-md-offset-1 panel panel-primary"> |
There was a problem hiding this comment.
若有在頁面中使用row類別,建議在最外層使用<div class="container"></div>或是<div class="container-fluid"></div>將所有元素包進去,因為bootstrap有定義了row的樣式,左右都是margin:-15px,這樣會造成有包了row類別的元素會超出視窗,跑出卷軸,由於container或是container-fluid類別有定義左右padding:15px,這時候如果使用他們包裝,就可以解決凸出視窗的問題了
There was a problem hiding this comment.
另外也不建議將row、col、panel類別全部放在同一層,不同的class在bootstrap有不同的樣式設定,放在一起可能會造成一些樣式上的衝突,可能會無法達到預期的樣子
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在
/2017-hellojs_overflow-kaya資料夾底下的2017-hellojs_overflow-kaya.html即為我的最終作業內容。