mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
homepage: split snippets and show copy buttons (#32196)
This commit is contained in:
parent
5fd0c239bc
commit
ae87f8f7ce
@ -44,8 +44,6 @@
|
||||
}
|
||||
|
||||
.masthead-followup {
|
||||
.bd-clipboard { display: none; }
|
||||
|
||||
h2 {
|
||||
@include font-size(2.5rem);
|
||||
}
|
||||
@ -60,10 +58,6 @@
|
||||
pre code {
|
||||
display: inline-block;
|
||||
white-space: pre;
|
||||
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,10 +42,10 @@ layout: home
|
||||
</div>
|
||||
<div class="col-md-7 pl-md-5">
|
||||
{% highlight sh %}
|
||||
# Via npm
|
||||
npm install bootstrap
|
||||
{% endhighlight %}
|
||||
|
||||
# Via gem
|
||||
{% highlight sh %}
|
||||
gem install bootstrap -v {{ site.current_ruby_version }}
|
||||
{% endhighlight %}
|
||||
</div>
|
||||
@ -69,8 +69,10 @@ gem install bootstrap -v {{ site.current_ruby_version }}
|
||||
{% highlight html %}
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
|
||||
{% endhighlight %}
|
||||
|
||||
<!-- jQuery and JS bundle w/ Popper.js -->
|
||||
{% highlight html %}
|
||||
<!-- jQuery and JavaScript Bundle with Popper.js -->
|
||||
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
|
||||
<script src="{{ site.cdn.js_bundle }}" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
|
||||
{% endhighlight %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user