-
Notifications
You must be signed in to change notification settings - Fork 29
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
CSS作業 #9
base: master
Are you sure you want to change the base?
CSS作業 #9
Conversation
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.
以下問題要再注意一下哦!這個作業沒那麼複雜la 😂
|
||
} | ||
#all{ | ||
height: 600px; |
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.
這邊其實可以不用設置height哦!因為高度是隨著裡面包的元素自動疊下去的~
} | ||
footer{ | ||
height: 20pt; | ||
width: 800px; |
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.
這邊用 width: 100%;
就好~以增加程式碼維護性
<div class="title"> | ||
醉到車停待轉區 拒酒測還嗆警 | ||
</div> | ||
<table> |
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.
這裡不需要使用到table哦~用<p>之類的標籤即可!
line-height: 30pt; | ||
border: none; | ||
width: 80pt; | ||
position: absolute; |
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.
這裡不需要使用到
position: absolute;
left: 50%;
transform: translateX(-50%);
要置中按鈕就在外面包覆的div加上 text-align: center;
哦~
No description provided.