diff options
| author | Mark Otto <[email protected]> | 2013-02-01 21:41:02 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-01 21:41:02 -0800 |
| commit | d2ea2cdeddbfda468f9d972e7d76c29525bd7cd5 (patch) | |
| tree | f92a487f4f64c14b6d8b547e890000f5c9c4d83c /less/tests | |
| parent | 2428904b4b2c293525b3a13bbe88ac60d9c7d5c2 (diff) | |
| download | bootstrap-d2ea2cdeddbfda468f9d972e7d76c29525bd7cd5.tar.xz bootstrap-d2ea2cdeddbfda468f9d972e7d76c29525bd7cd5.zip | |
add horizontal-three-color gradient test
Diffstat (limited to 'less/tests')
| -rw-r--r-- | less/tests/css-tests.css | 13 | ||||
| -rw-r--r-- | less/tests/css-tests.html | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/less/tests/css-tests.css b/less/tests/css-tests.css index 9edaf69bf..0f5604ee6 100644 --- a/less/tests/css-tests.css +++ b/less/tests/css-tests.css @@ -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); +} diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html index 035ba8bd4..98496b762 100644 --- a/less/tests/css-tests.html +++ b/less/tests/css-tests.html @@ -1291,6 +1291,9 @@ <h4>Striped</h4> <div class="gradient-striped"></div> +<h4>Horizontal three colors</h4> +<div class="gradient-horizontal-three"></div> + |
