标签: html css
我想更改链接回页面顶部的href的字体大小。
我的HTML代码:
<a href="#topofpage" class="top">Return to top of page</a>
我的css代码:
a.top ( font-size:40px; }
答案 0 :(得分:3)
你的css错误试试
a.top { font-size:40px; }
答案 1 :(得分:1)
此处简单修复:您使用括号(()而不是大括号({)。
(
{
Demo