Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

CSS作業 #9

wants to merge 5 commits into from

Conversation

Kaykai
Copy link

@Kaykai Kaykai commented Dec 30, 2017

No description provided.

Copy link
Owner

@Xinhe998 Xinhe998 left a 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;
Copy link
Owner

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;
Copy link
Owner

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>
Copy link
Owner

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;
Copy link
Owner

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;哦~

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

Successfully merging this pull request may close these issues.

2 participants