-
Notifications
You must be signed in to change notification settings - Fork 17
Way finished homework #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
way11229
wants to merge
1
commit into
hellojs-tw:master
Choose a base branch
from
way11229:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| <!---黃子威---> | ||
| <!DOCTYPE html> | ||
| <html lang="utf-8"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| <meta name="viewport" content="width=device-width, in itial-scale=1"> | ||
| <title>Hellojs-bootstrap</title> | ||
| <!-- Bootstrap CSS --> | ||
| <!-- Latest compiled and minified CSS --> | ||
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
|
|
||
| <!-- Optional theme --> | ||
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | ||
| </head> | ||
| <style> | ||
| html { | ||
| height: 100%; | ||
| } | ||
| body { | ||
| background-image: url("http://www.wallpapermade.com/images/wallpapers/originals/nice-tree-with-colorful-star-sky-wallpaper-2056.jpg"); | ||
| background-repeat: no-repeat; | ||
| background-size: cover; | ||
| padding: 5% 0px; | ||
| } | ||
| .main { | ||
| background: linear-gradient(rgba(255, 255, 255, 0.8)65%, rgba(255, 255, 255, 0)100%); | ||
| background: -moz-linear-gradient(rgba(255, 255, 255, 0.8)65%, rgba(255, 255, 255, 0)100%); | ||
| background: -webkit-linear-gradient(rgba(255, 255, 255, 0.8)65%, rgba(255, 255, 255, 0)100%); | ||
| background: -o-linear-gradient(rgba(255, 255, 255, 0.8)65%, rgba(255, 255, 255, 0)100%); | ||
| height: 100%; | ||
| border-radius: 16px; | ||
| } | ||
| .image { | ||
| padding-top: 20px; | ||
| } | ||
| .mydata { | ||
| text-shadow:0px 0px 10px #000; | ||
| } | ||
| </style> | ||
| <body class="row img-responsive" style=" height: 100%;"> | ||
| <div class="main col-lg-4 col-md-4 col-sm-8 col-lg-offset-4 col-md-offset-4 col-sm-offset-2 col-xs-12 row"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 這裡可以不需要再有row了 |
||
| <div class="row image"> | ||
| <img src="https://rr.img.naver.jp/mig?src=http%3A%2F%2Fimgcc.naver.jp%2Fkaze%2Fmission%2FUSER%2F6%2F6173%2F117%2F6bd8407bf6d5ceee8602e3fad4c3511f.jpg&twidth=1000&theight=0&qlt=80&res_format=jpg&op=r" class="img-circle img-responsive col-lg-6 col-md-6 col-sm-12 col-lg-offset-3 col-md-offset-3 col-xs-12"> | ||
| </div> | ||
| <div class="col-lg-8 col-md-8 col-sm-8 col-lg-offset-2 col-md-offset-2 col-sm-offset-2 col-xs-10 col-xs-offset-1 mydata"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 這裡也記得要再把網格包在row類別裡歐 |
||
| <p class="h2 text-center"><strong>黃子威</strong></p> | ||
| <span class= "h3">中正大學資訊工程系的學生,主要涉略網頁後端程式語言,希望可以在Hellojs學到前端開發技術。</span> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
| <!-- jQuery --> | ||
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
| <!-- Latest compiled and minified JavaScript --> | ||
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要使用
<div class="row"></div>必須先在元素最外層包<div class="container"></div>或是<div class="container-fluid"></div>,才不會造成元素凸出視窗範圍;另外,img-responsive一般是用在圖片噢There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
所以建議是改成