Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d2ea2cde
Commit
d2ea2cde
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
add horizontal-three-color gradient test
parent
2428904b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
less/tests/css-tests.css
+12
-1
less/tests/css-tests.css
less/tests/css-tests.html
+3
-0
less/tests/css-tests.html
with
15 additions
and
1 deletion
+15
-1
less/tests/css-tests.css
+
12
-
1
View file @
d2ea2cde
...
...
@@ -136,4 +136,15 @@ body {
background-image
:
-moz-linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
background-image
:
-o-linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
background-image
:
linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
}
\ No newline at end of file
}
.gradient-horizontal-three
{
background-color
:
#00b3ee
;
background-image
:
-webkit-gradient
(
left
,
linear
,
0
0
,
0
100%
,
from
(
#00b3ee
),
color-stop
(
50%
,
#7a43b6
),
to
(
#c3325f
));
background-image
:
-webkit-linear-gradient
(
left
,
#00b3ee
,
#7a43b6
50%
,
#c3325f
);
background-image
:
-moz-linear-gradient
(
left
,
#00b3ee
,
#7a43b6
50%
,
#c3325f
);
background-image
:
-o-linear-gradient
(
left
,
#00b3ee
,
#7a43b6
50%
,
#c3325f
);
background-image
:
linear-gradient
(
to
right
,
#00b3ee
,
#7a43b6
50%
,
#c3325f
);
background-repeat
:
no-repeat
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#00b3ee'
,
endColorstr
=
'#c3325f'
,
GradientType
=
0
);
}
This diff is collapsed.
Click to expand it.
less/tests/css-tests.html
+
3
-
0
View file @
d2ea2cde
...
...
@@ -1291,6 +1291,9 @@
<h4>
Striped
</h4>
<div
class=
"gradient-striped"
></div>
<h4>
Horizontal three colors
</h4>
<div
class=
"gradient-horizontal-three"
></div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment