Skip to content

Commit bd7d1dd

Browse files
committed
[css-easing-2] Define that linear serializes as itself
1 parent 742a7be commit bd7d1dd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

css-easing-2/Overview.bs

+19
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,23 @@ WPT Display: closed
4444
}
4545
}
4646
</style>
47+
<style>
48+
/* Put nice boxes around each algorithm. */
49+
[data-algorithm]:not(.heading) {
50+
padding: .5em;
51+
border: thin solid #ddd; border-radius: .5em;
52+
margin: .5em calc(-0.5em - 1px);
53+
}
54+
[data-algorithm]:not(.heading) > :first-child {
55+
margin-top: 0;
56+
}
57+
[data-algorithm]:not(.heading) > :last-child {
58+
margin-bottom: 0;
59+
}
60+
[data-algorithm] [data-algorithm] {
61+
margin: 1em 0;
62+
}
63+
</style>
4764

4865
Introduction {#introduction}
4966
============================
@@ -245,6 +262,8 @@ A [=linear easing function=] has the following syntax:
245262
<h4 id=linear-easing-function-serializing>
246263
Serializing</h4>
247264

265+
The ''linear'' keyword is serialized as itself.
266+
248267
<div algorithm>
249268
To <dfn export>serialize a linear() function</dfn>:
250269

0 commit comments

Comments
 (0)