Skip to content

Commit ed512e0

Browse files
committed
[css-sizing-4] Fix syntax error in example.
1 parent ba37203 commit ed512e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-sizing-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
157157
height=315>
158158
</pre>
159159
<pre highlight="css">
160-
@supports (aspect-ratio: attr(width px) / 1) {
160+
@supports (aspect-ratio: attr(width) / 1) {
161161
iframe {
162-
aspect-ratio: attr(width px) / attr(height px);
162+
aspect-ratio: attr(width) / attr(height);
163163
width: 100%;
164164
height: auto;
165165
}

0 commit comments

Comments
 (0)