[問題] 巢狀包覆
HTML code
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title></title>
</head>
<body>
<div>
<ul>
<li><p>Grab me!</p></li>
<li><p>Me, too!</p></li>
</ul>
</div>
<p>Don't grab me!</p>
</body>
</html>
題目是:
Give the paragraphs inside the list item tags a font size of 30px.
我的CSS打
div div li{font-size:30px;}
請問為什麼沒辦法過關,有什麼地方錯了?
請教一下
感謝願意回答的人
謝謝!
--
Every man for himself and God against them all.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 106.1.185.58
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1436579345.A.E3E.html
推
07/11 10:14, , 1F
07/11 10:14, 1F
→
07/11 10:22, , 2F
07/11 10:22, 2F
→
07/11 10:23, , 3F
07/11 10:23, 3F
→
07/11 10:37, , 4F
07/11 10:37, 4F
→
07/11 10:40, , 5F
07/11 10:40, 5F
→
07/11 10:40, , 6F
07/11 10:40, 6F
推
07/15 10:20, , 7F
07/15 10:20, 7F
→
07/15 10:20, , 8F
07/15 10:20, 8F
→
07/16 08:19, , 9F
07/16 08:19, 9F