css border-top-left-radius property
Translation results:
border
UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]
n.Border; edge; edging; wrapping Edge
vt.& vi. Bound with, on the edge of...
vt. Along the edge of, surround..., edge...
vi. Approximate, adjacent
Third person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: bordered
top
英[ tɒp] 美[tɑ:p]
n. Top, top; (box) cover, (book pages, etc.) upper column; chief; top
adj. The highest; top ; first-class; the largest
vt. form the top; reach the top of...; be at the forefront of...; leader
vi. Summary; transcend; tower; end
Third person singular: tops Plural: tops Present participle: topping Past tense: topped Past participle: topped
##left
UK[left] 美[lɛft]adj.Left, left; leftistn.Left, left;[military] left wing;leftist, radicaladv.To the left; on the leftv.Leave (past tense and past participle of leave)Plural: lefts
radius
UK[ˈreɪdiəs] US[ ˈrediəs] n. Radius; radius range; radius (distance); circular area measured by radiusPlural: radiicss border-top-left-radius propertysyntax
Function: Define the shape of the upper left corner border.
Syntax: border-bottom-right-radius: length|% [length|%];
Description: length Definition The shape in the upper left corner. % defines the shape of the upper left corner as a percentage value.
Note: The length value and percentage value of the border-top-left-radius property define the radius (radii) of the quarter ellipse (the corner shape that defines the outer border edge). The first value is the horizontal radius and the second value is the vertical radius. If the second value is omitted, the first value is copied. If the length is zero, the corners are square, not round. Percentage values for the horizontal radius refer to the width of the border box, while percentage values for the vertical radius refer to the height of the border box.
css border-top-left-radius propertyexample
<!DOCTYPE html> <html> <head> <style> div { border:2px solid; padding:10px; background:#dddddd; border-top-left-radius:2em; -webkit-border-top-left-radius:2em; /* Safari */ } </style> </head> <body> <div>border-top-left-radius 属性允许您向左上角添加圆角边框。</div> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance