我无法更改链接的字体大小,这真的很奇怪:
.linkunderthepicture a {
width: 99%;
font-size: 18;
text-decoration: underline;
font-weight:bold;
text-align: center;
}

<div class="linkunderthepicture"><a href="http://google.com">Click</a></div>
&#13;
答案 0 :(得分:2)
您忘记将测量单位添加到font-size
。将px
,em
或%
添加到18月底。
.linkunderthepicture a {
width: 99%;
font-size: 48px;
text-decoration: underline;
font-weight:bold;
text-align: center;
}
<div class="linkunderthepicture"><a href="http://google.com">Click</a></div>