Skip to content

Commit 1a28c94

Browse files
committed
ideas/radial-gradient-readability: [Alternate Proposal]
1 parent 7368204 commit 1a28c94

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ideas/radial-gradient-readability.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ Because the default size is ''cover'', this means:
103103
Feedback on CSS3.info indicates that people find "to <length>" awkward. Since technically only one of <size> or <position> needs a keyword (for unambiguous parsing), fixed sizes could be combined with the shape keyword. This does mean that size must come before position (although either could be omitted).
104104

105105
The alternate syntax would be ''radial-gradient([ <extent> || <shape> ] at <position>, <colors>)''.
106+
106107
For example, ''radial-gradient(5em circle at 25% 50px, white, black)''
107108

108-
Comparison:
109+
Comparison to other proposal:
109110

110111
<html>
111112
<table rules="groups" class="data" cellpadding="5">

0 commit comments

Comments
 (0)