久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css如何設置文字加粗

      css中可使用font-weight屬性設置文字加粗,只需要給元素添加“font-weight:bold|bolder”樣式即可,值“bold”定義粗體字符,“bolder”定義更粗的字符;還可設置值為700、800或900來實現(xiàn)加粗即可。

      css如何設置文字加粗

      本教程操作環(huán)境:windows7系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      在css中,可以使用font-weight屬性來設置文字加粗效果。

      font-weight屬性可以設置文本的粗細,一般用于設置顯示元素的文本中所用的字體加粗

      加粗效果相關(guān)的屬性值:

      描述
      bold 定義粗體字符。
      bolder 定義更粗的字符。
      • 100
      • 200
      • 300
      • 400
      • 500
      • 600
      • 700
      • 800
      • 900
      定義由細到粗的字符。400 等同于 normal,而 700 等同于 bold。

      示例:

      <!DOCTYPE html> <html>  	<head> 		<meta charset="utf-8"> 		<title>css 文字加粗</title> 		<style> 			p.normal { 				font-weight: normal; 			} 			p.bold { 				font-weight: bold; 			} 			 			p.bolder { 				font-weight: bolder; 			} 			 			p.thicker { 				font-weight: 900; 			} 		</style> 	</head>  	<body> 		<p class="normal">測試文本!</p> 		<p class="bold">測試文本!</p> 		<p class="bolder">測試文本!</p> 		<p class="thicker">測試文本!</p> 	</body>  </html>

      效果圖:

      css如何設置文字加粗

      (學習視頻分享:css視頻教程)

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號