You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-borders-4/Overview.bs
+221-3Lines changed: 221 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,203 @@ Introduction</h2>
36
36
<h2 id="borders">
37
37
Borders</h2>
38
38
39
+
<h3 id="border-properties">
40
+
Logical Borders</h3>
41
+
42
+
<h4 id="border-width">
43
+
Logical Border Widths:
44
+
the 'border-block-start-width', 'border-block-end-width', 'border-inline-start-width', 'border-inline-end-width' properties and 'border-block-width' and 'border-inline-width' shorthands</h4>
Computed value: Same as corresponding 'border-*-width' properties
55
+
Animation type: by computed value type
56
+
</pre>
57
+
58
+
These properties correspond to the
59
+
'border-top-width', 'border-bottom-width', 'border-left-width', and 'border-right-width' properties.
60
+
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
61
+
62
+
<pre class="propdef shorthand">
63
+
Name: border-block-width, border-inline-width
64
+
Value: <<'border-top-width'>>{1,2}
65
+
</pre>
66
+
67
+
These two <a>shorthand properties</a> set the
68
+
'border-block-start-width' & 'border-block-end-width'
69
+
and
70
+
'border-inline-start-width' & 'border-inline-end-width',
71
+
respectively.
72
+
The first value represents the <a>start</a> edge width,
73
+
and the second value represents the <a>end</a> edge width.
74
+
If only one value is given, it applies to both the <a>start</a> and <a>end</a> edges.
75
+
76
+
<h4 id="border-style">
77
+
Logical Border Styles:
78
+
the 'border-block-start-style', 'border-block-end-style', 'border-inline-start-style', 'border-inline-end-style' properties and 'border-block-style' and 'border-inline-style' shorthands</h4>
Computed value: Same as corresponding 'border-*-style' properties
89
+
Animation type: discrete
90
+
</pre>
91
+
92
+
These properties correspond to the
93
+
'border-top-style', 'border-bottom-style', 'border-left-style', and 'border-right-style' properties.
94
+
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
95
+
96
+
<pre class="propdef shorthand">
97
+
Name: border-block-style, border-inline-style
98
+
Value: <<'border-top-style'>>{1,2}
99
+
</pre>
100
+
101
+
These two <a>shorthand properties</a> set the
102
+
'border-block-start-style' & 'border-block-end-style'
103
+
and
104
+
'border-inline-start-style' & 'border-inline-end-style',
105
+
respectively.
106
+
The first value represents the <a>start</a> edge style,
107
+
and the second value represents the <a>end</a> edge style.
108
+
If only one value is given, it applies to both the <a>start</a> and <a>end</a> edges.
109
+
110
+
<h4 id="border-color">
111
+
Logical Border Colors:
112
+
the 'border-block-start-color', 'border-block-end-color', 'border-inline-start-color', 'border-inline-end-color' properties and 'border-block-color' and 'border-inline-color' shorthands</h4>
Computed value: Same as corresponding 'border-*-color' properties
123
+
Animation type: by computed value type
124
+
</pre>
125
+
126
+
These properties correspond to the
127
+
'border-top-color', 'border-bottom-color', 'border-left-color', and 'border-right-color' properties.
128
+
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
129
+
130
+
<pre class="propdef shorthand">
131
+
Name: border-block-color, border-inline-color
132
+
Value: <<'border-top-color'>>{1,2}
133
+
</pre>
134
+
135
+
These two <a>shorthand properties</a> set the
136
+
'border-block-start-color' & 'border-block-end-color'
137
+
and
138
+
'border-inline-start-color' & 'border-inline-end-color',
139
+
respectively.
140
+
The first value represents the <a>start</a> edge color,
141
+
and the second value represents the <a>end</a> edge color.
142
+
If only one value is given, it applies to both the <a>start</a> and <a>end</a> edges.
143
+
144
+
<h4 id="border-shorthands">
145
+
Logical Border Shorthands:
146
+
the 'border-block-start', 'border-block-end', 'border-inline-start', 'border-inline-end' properties and 'border-block' and 'border-inline' shorthands</h4>
0 commit comments