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:
authorGaƫl Poupard <gael.poupard@orange.com>2020-06-10 11:47:27 +0300
committerMark Otto <otto@github.com>2020-06-15 00:47:56 +0300
commitaee711bfa944b592facbe5df1eb9114f3c4e37e0 (patch)
tree8035ffa59f5538fa8aaad51373ddafa4cd11e02b /site/content/docs/5.0/examples
parent6fa3dfe8d9d2b53cfcec600f5fafad97bd431d67 (diff)
docs(examples): fix pricing example
Diffstat (limited to 'site/content/docs/5.0/examples')
-rw-r--r--site/content/docs/5.0/examples/pricing/index.html14
-rw-r--r--site/content/docs/5.0/examples/pricing/pricing.css13
2 files changed, 10 insertions, 17 deletions
diff --git a/site/content/docs/5.0/examples/pricing/index.html b/site/content/docs/5.0/examples/pricing/index.html
index 033574d60c..639d2c872f 100644
--- a/site/content/docs/5.0/examples/pricing/index.html
+++ b/site/content/docs/5.0/examples/pricing/index.html
@@ -23,8 +23,9 @@ include_js: false
</div>
<div class="container">
- <div class="card-deck mb-3 text-center">
- <div class="card mb-4 shadow-sm">
+ <div class="row row-cols-1 row-cols-md-3 mb-3 text-center">
+ <div class="col">
+ <div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">Free</h4>
</div>
@@ -39,7 +40,9 @@ include_js: false
<button type="button" class="btn btn-lg btn-block btn-outline-primary">Sign up for free</button>
</div>
</div>
- <div class="card mb-4 shadow-sm">
+ </div>
+ <div class="col">
+ <div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">Pro</h4>
</div>
@@ -54,7 +57,9 @@ include_js: false
<button type="button" class="btn btn-lg btn-block btn-primary">Get started</button>
</div>
</div>
- <div class="card mb-4 shadow-sm">
+ </div>
+ <div class="col">
+ <div class="card mb-4 shadow-sm">
<div class="card-header">
<h4 class="my-0 font-weight-normal">Enterprise</h4>
</div>
@@ -69,6 +74,7 @@ include_js: false
<button type="button" class="btn btn-lg btn-block btn-primary">Contact us</button>
</div>
</div>
+ </div>
</div>
<footer class="pt-4 my-md-5 pt-md-5 border-top">
diff --git a/site/content/docs/5.0/examples/pricing/pricing.css b/site/content/docs/5.0/examples/pricing/pricing.css
index cbf0ec013a..70afca134b 100644
--- a/site/content/docs/5.0/examples/pricing/pricing.css
+++ b/site/content/docs/5.0/examples/pricing/pricing.css
@@ -1,12 +1,3 @@
-html {
- font-size: 14px;
-}
-@media (min-width: 768px) {
- html {
- font-size: 16px;
- }
-}
-
.container {
max-width: 960px;
}
@@ -14,7 +5,3 @@ html {
.pricing-header {
max-width: 700px;
}
-
-.card-deck .card {
- min-width: 220px;
-}