六角
,網頁切版直播班-2021夏季
,第一週小組任務
Slack ID | 暱稱 |
---|---|
U022QBG9ZGE | Joy Cheng |
U022QDUAURL | Chiao Chang |
U0217NFE007 | 大衛 |
U022GB5RMB9 | SihLe Huang |
U024XBNJBM2 | Tansy |
UTH5L4022 | Sylvia-H |
暱稱 | 類別 | 職業分析 | 測驗結果畫面 |
---|---|---|---|
Sylvia-H | 外交家 | 調停者 INFP-T | 畫面 |
Tansy | 守護者 | 物流師 ISTJ-T | 畫面 |
Joy Cheng | 外交家 | 競選者 ENFP-A | 畫面 |
以下範例程式碼的 .text 高度是多少?(請不要用瀏覽器觀察)
Ans: 92~93px
<div class="text">
<img alt="" src="logo.png" height="90" />
</div>
請問 .box 的高度是多少?(請不要用瀏覽器觀察)
Ans: 36+48*2+90=222px
<div class="box">
<h1>標題</h1>
<p>段落</p>
<p>段落</p>
<img alt="" src="logo.png" height="90" />
</div>
.box h1{
font-size: 24px;
line-height: 36px;
}
.box p{
font-size: 16px;
line-height: 1.5;
margin-bottom: 24px;
}
.box img{
display: block;
}
請問 .card 的寬高與高度各是多少?(請不要用瀏覽器觀察)
Ans:
width: 50+3+202=93px
height: 50+3+202=93px
<div class="card"></div>
.card{
width: 50px;
height: 50px;
border-bottom: 3px solid orange;
border-right: 3px solid #000;
background: #000;
padding: 20px;
}
請優化此程式碼,優化重點為:
Ans: 修改重點:把文字樣式和排版分開
body {
font-size: 20px;
}
.wrap {
width: 500px;
margin: 0 auto;
}
請優化此程式碼,並將程式碼連結放到 Codepen 上。優化重點為:
Ans: 修改重點:把文字樣式和排版分開
彼此討論 pixel perfect kata,你會如何透過 flexbox 來排版?
Ans: Codepen 連結
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing