#first {
text-align: center;
font-size: 40px;
font-weight: 200;
}
#second {
text-align: center;
font-size: 25px;
font-weight: 50;
}
#third {
text-align: center;
}Run Code Online (Sandbox Code Playgroud)
<p id="first">One account.All of google</p>
<p id="second">Sign in to continue to Gmail</p>
<div id="login">
<form>
<img src="img.jpg">
<input type="text" name="username" value="Enter your username">
<br>
<input type="password" name="password" value="password">
<br>
<input type="submit" value="Sign in">
<br>
<a href="">Forgot password?</a>
</form>
</div>
<p id="third">Sign in with different account</p>Run Code Online (Sandbox Code Playgroud)
我无法减少font-weight。我希望#secondid 的权重小于#firstid 的权重。我已经使用了,font-weight但仍然不起作用。