Share via


border-top-left-radius

定義框線左上角將設為圓角的角度。

語法

{ border-top-left-radius sRadius }

可能的值

sRadius

指定一或多個半徑值 (以斜線 ("/") 分隔) 的字串。

半徑

表示半徑的浮點數,後面接著絕對單位指示項 (、 mminptpc ) 或相對單位指示項 ( emexpx )。

percentage

後面接著 % 的整數。這個值是框線方塊寬度 (若為水平半徑) 或框線方塊高度 (若為垂直半徑) 的百分比。

此屬性沒有預設值。這不是繼承屬性。

備註

如果在斜線的前面和後面指定值,斜線前面的值設定的是水平半徑,而斜線後面的值設定的垂直半徑。如果沒有斜線,這些值就會同時設定兩個半徑。

標準資訊

important note重要訊息:

本文件為初步資訊而且可能隨時變更。

適用範圍

a , address , b , big , blockquote , body , br , button , caption , cite , code , dd , dfn , div , dl , dt , em , hn , i , img , input type=file , input type=image , input type=password , input type=text , kbd , label , legend , li , listing , marquee , menu , ol , p , plaintext , pre , s , samp , small , span , strike , strong , sub , sup , table , tbody , td , textarea , tfoot , th , thead , tr , tt , u , ul

另請參閱

概念

border-radius
border-bottom-left-radius
border-bottom-right-radius
border-top-right-radius