]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
refine deprecated holder.js color syntax
authorm5o <m5o@gmx.com>
Thu, 11 Oct 2018 20:25:27 +0000 (22:25 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 11 Oct 2018 20:49:08 +0000 (23:49 +0300)
* refine deprecated holder.js color syntax
  * remove `#55595c:#373a3c`
* harmonize with all other holder.js examples

site/docs/4.1/components/card.md

index 25e9ec2d0ef6e6f6aa6153bf57e7061d704b88eb..2eb2c117aef8bb05c8e39d605b956302115dd40f 100644 (file)
@@ -382,7 +382,7 @@ Turn an image into a card background and overlay your card's text. Depending on
 
 {% capture example %}
 <div class="card bg-dark text-white">
-  <img class="card-img" data-src="holder.js/100px270/#55595c:#373a3c/text:Card image" alt="Card image">
+  <img class="card-img" data-src="holder.js/100px270?text=Card image" alt="Card image">
   <div class="card-img-overlay">
     <h5 class="card-title">Card title</h5>
     <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>