久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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里能控制顯示虛線。在css中,可以使用border-style屬性來設(shè)置虛線邊框樣式,只需要給元素添加“border-style:dashed;”樣式即可;border-style屬性用于設(shè)置元素邊框的樣式,當(dāng)值為“dashed”時,可定義虛線邊框樣式。

      css里能控制顯示虛線嗎

      前端(vue)入門到精通課程:進入學(xué)習(xí)

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

      css里能控制顯示虛線,使用border-style屬性即可。

      border-style屬性用于設(shè)置元素邊框的樣式,當(dāng)值為“dashed”時,可定義虛線邊框樣式。

      <!DOCTYPE html> <html> 	<head> 		<meta charset="UTF-8"> 		<style type="text/css"> 			p.dashed { 				border-style: dashed 			} 			 			p.solid { 				border-style: solid 			} 		</style> 	</head>  	<body>  		<p class="dashed">這是虛線邊框樣式!</p>  		<p class="solid">這是實線邊框樣式!</p>  	</body>  </html>

      css里能控制顯示虛線嗎

      border-style屬性可以設(shè)置的值

      描述
      none 定義無邊框。
      hidden 與 "none" 相同。不過應(yīng)用于表時除外,對于表,hidden 用于解決邊框沖突。
      dotted 定義點狀邊框。在大多數(shù)瀏覽器中呈現(xiàn)為實線。
      dashed 定義虛線。在大多數(shù)瀏覽器中呈現(xiàn)為實線。
      solid 定義實線。
      double 定義雙線。雙線的寬度等于 border-width 的值。
      groove 定義 3D 凹槽邊框。其效果取決于 border-color 的值。
      ridge 定義 3D 壟狀邊框。其效果取決于 border-color 的值。
      inset 定義 3D inset 邊框。其效果取決于 border-color 的值。
      outset 定義 3D outset 邊框。其效果取決于 border-color 的值。
      inherit 規(guī)定應(yīng)該從父元素繼承邊框樣式。

      說明:

      border-style屬性是一個簡寫屬性,可設(shè)置一個元素的四個邊框的樣式,如果是想單獨設(shè)置一個邊框的樣式,可實現(xiàn):

      • border-top-style屬性:上邊框樣式

      • border-bottom-style屬性:下邊框樣式

      • border-left-style屬性:左邊框樣式

      • border-right-style屬性:右邊框樣式

      <!DOCTYPE html> <html> 	<head> 		<meta charset="UTF-8"> 		<style type="text/css"> 			p.dashed { 				border-top-style: dashed; 				border-bottom-style: dashed 			} 			 			p.solid { 				border-left-style: solid; 				border-right-style: solid; 			} 		</style> 	</head>  	<body>  		<p class="dashed">這是虛線邊框樣式!</p>  		<p class="solid">這是實線邊框樣式!</p>  	</body>  </html>

      css里能控制顯示虛線嗎

      (學(xué)習(xí)視頻分享:web前端)

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