mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
no preboot
This commit is contained in:
parent
b67fc6906a
commit
7e16425acb
1 changed files with 2 additions and 2 deletions
|
@ -2983,7 +2983,7 @@ a {
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3 id="less-mixins-rounded-corners">Rounded corners</h3>
|
<h3 id="less-mixins-rounded-corners">Rounded corners</h3>
|
||||||
<p>Today all modern browsers support the non-prefixed <code>border-radius</code> property. As such, there is no <code>.border-radius()</code> mixin, but Preboot does include shortcuts for quickly rounding two corners on a particular side of an object.</p>
|
<p>Today all modern browsers support the non-prefixed <code>border-radius</code> property. As such, there is no <code>.border-radius()</code> mixin, but Bootstrap does include shortcuts for quickly rounding two corners on a particular side of an object.</p>
|
||||||
{% highlight css %}
|
{% highlight css %}
|
||||||
.border-top-radius(@radius) {
|
.border-top-radius(@radius) {
|
||||||
border-top-right-radius: @radius;
|
border-top-right-radius: @radius;
|
||||||
|
@ -3278,7 +3278,7 @@ a {
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3 id="less-mixins-retina-images">Retina images</h3>
|
<h3 id="less-mixins-retina-images">Retina images</h3>
|
||||||
<p>Specify two image paths and the @1x image dimensions, and Preboot will provide an @2x media query. <strong>If you have many images to serve, consider writing your retina image CSS manually in a single media query.</strong></p>
|
<p>Specify two image paths and the @1x image dimensions, and Bootstrap will provide an @2x media query. <strong>If you have many images to serve, consider writing your retina image CSS manually in a single media query.</strong></p>
|
||||||
{% highlight css %}
|
{% highlight css %}
|
||||||
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
||||||
background-image: url("@{file-1x}");
|
background-image: url("@{file-1x}");
|
||||||
|
|
Loading…
Reference in a new issue