Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2014-01-27 05:31:11 +0400
committerChris Rebert <code@rebertia.com>2014-01-27 05:44:01 +0400
commit602e5f8f115b6625011e2e6c2d36c1d28715c4b9 (patch)
treea8d9c46fb1ca6b75ed9e5b2eb9b8ff7bbcc8ee09 /docs/css.html
parent3157a3777536f1be7a8ccbb6170611492f9b2733 (diff)
mark .box-shadow() mixin as deprecated; fixes #12396
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/css.html b/docs/css.html
index dea8f52037..3b2cdf813f 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -2989,7 +2989,8 @@ a {
{% endhighlight %}
<h3 id="less-mixins-box-shadow">Box (Drop) shadows</h3>
- <p>If your target audience is using the latest and greatest browsers and devices, be sure to just use the <code>box-shadow</code> property on its own. If you need support for older Android (pre-v4) and iOS devices (pre-iOS 5), use the mixin to pick up the required <code>-webkit</code> prefix.</p>
+ <p>If your target audience is using the latest and greatest browsers and devices, be sure to just use the <code>box-shadow</code> property on its own. If you need support for older Android (pre-v4) and iOS devices (pre-iOS 5), use the <strong>deprecated</strong> mixin to pick up the required <code>-webkit</code> prefix.</p>
+ <p>The mixin is <strong>deprecated</strong> as of v3.1.0, since Bootstrap doesn't officially support the outdated platforms that don't support the standard property. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.</p>
<p>Be sure to use <code>rgba()</code> colors in your box shadows so they blend as seamlessly as possible with backgrounds.</p>
{% highlight css %}
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {