摘要:
p:first-child {font-weight: bold;}//将作为某元素第一个子元素的所有 p 元素设置为粗体li:first-child {text-transform:uppercase;}//将作为某个元素(在 HTML 中,这肯定是 ol 或 ul 元素)第一个子元素的所有 li... 阅读全文
摘要:
[title=W3School]{border:5px solid blue;}说明:对所有title="W3School"的元素设置样式input[type="text"]{ width:150px; display:block; margin-bottom:10px; backgroun... 阅读全文