बूटस्ट्रैप 3 ट्यूटोरियल

बीएस होम बी एस आरंभ करें बीएस ग्रिड बेसिक बीएस टाइपोग्राफी बीएस टेबल्स बीएस छवियां बीएस जंबोट्रॉन बीएस वेल्स बीएस अलर्ट बीएस बटन बीएस बटन समूह बीएस ग्लिफ़कॉन्स बीएस बैज/लेबल बीएस प्रोग्रेस बार्स बीएस पेजिनेशन बीएस पेजर बीएस सूची समूह बीएस पैनल बीएस ड्रॉपडाउन बीएस पतन बीएस टैब्स/गोलियां बीएस नवबार बीएस फॉर्म बीएस इनपुट्स बीएस इनपुट 2 बीएस इनपुट साइजिंग बीएस मीडिया ऑब्जेक्ट्स बी एस हिंडोला बीएस मोडल बीएस टूलटिप बीएस पॉपओवर बीएस स्क्रॉलस्पाई बीएस एफिक्स बीएस फिल्टर

बूटस्ट्रैप ग्रिड

बीएस ग्रिड सिस्टम बीएस स्टैक्ड/क्षैतिज बीएस ग्रिड छोटा बीएस ग्रिड माध्यम बीएस ग्रिड लार्ज बीएस ग्रिड उदाहरण

बूटस्ट्रैप थीम्स

बीएस टेम्पलेट्स बीएस थीम "सिम्पली मी" बीएस थीम "कंपनी" बीएस थीम "बैंड"

बूटस्ट्रैप उदाहरण

बीएस उदाहरण बी एस प्रश्नोत्तरी बीएस व्यायाम बी एस प्रमाणपत्र

बूटस्ट्रैप सीएसएस रेफरी

सीएसएस सभी वर्ग सीएसएस टाइपोग्राफी सीएसएस बटन सीएसएस फॉर्म सीएसएस हेल्पर्स सीएसएस छवियां सीएसएस टेबल्स सीएसएस ड्रॉपडाउन सीएसएस नवस ग्लिफ़िकन्स

बूटस्ट्रैप जे एस रेफरी

जे एस एफिक्स जेएस अलर्ट जे एस बटन जे एस हिंडोला जे एस संक्षिप्त जेएस ड्रॉपडाउन जेएस मोडल जेएस पॉपओवर जेएस स्क्रॉलस्पी जेएस टैब जेएस टूलटिप


बूटस्ट्रैप छवियां


बूटस्ट्रैप छवि आकार

कोने पर गोलाकार आकृति:

पांच भूमि

वृत्त:

पांच भूमि

थंबनेल:

पांच भूमि

कोने पर गोलाकार आकृति

वर्ग एक छवि में .img-roundedगोल कोनों को जोड़ता है (IE8 गोल कोनों का समर्थन नहीं करता है):

उदाहरण

<img src="cinqueterre.jpg" class="img-rounded" alt="Cinque Terre">

वृत्त

वर्ग छवि को एक सर्कल में .img-circleआकार देता है (आईई 8 गोलाकार कोनों का समर्थन नहीं करता है):

उदाहरण

<img src="cinqueterre.jpg" class="img-circle" alt="Cinque Terre">

थंबनेल

.img-thumbnailवर्ग छवि को थंबनेल में आकार देता है :

उदाहरण

<img src="cinqueterre.jpg" class="img-thumbnail" alt="Cinque Terre">


उत्तरदायी छवियां

छवियां सभी आकारों में आती हैं। तो स्क्रीन करो। स्क्रीन के आकार में फिट होने के लिए उत्तरदायी छवियां स्वचालित रूप से समायोजित हो जाती हैं।

टैग में एक .img-responsiveवर्ग जोड़कर प्रतिक्रियाशील चित्र बनाएं । <img>छवि तब मूल तत्व के लिए अच्छी तरह से स्केल हो जाएगी।

.img-responsiveवर्ग लागू होता display: block;है और छवि पर max-width: 100%;: height: auto;

उदाहरण

<img class="img-responsive" src="img_chania.jpg" alt="Chania">

छवि गैलरी

.thumbnailआप छवि गैलरी बनाने के लिए क्लास के साथ बूटस्ट्रैप के ग्रिड सिस्टम का भी उपयोग कर सकते हैं ।

नोट: आप इस ट्यूटोरियल में बाद में ग्रिड सिस्टम के बारे में और जानेंगे (विभिन्न मात्रा में कॉलम के साथ एक लेआउट कैसे बनाएं)।

उदाहरण

 <div class="row">
  <div class="col-md-4">
    <div class="thumbnail">
      <a href="/w3images/lights.jpg">
        <img src="/w3images/lights.jpg" alt="Lights" style="width:100%">
        <div class="caption">
          <p>Lorem ipsum...</p>
        </div>
      </a>
    </div>
  </div>
  <div class="col-md-4">
    <div class="thumbnail">
      <a href="/w3images/nature.jpg">
        <img src="/w3images/nature.jpg" alt="Nature" style="width:100%">
        <div class="caption">
          <p>Lorem ipsum...</p>
        </div>
      </a>
    </div>
  </div>
  <div class="col-md-4">
    <div class="thumbnail">
      <a href="/w3images/fjords.jpg">
        <img src="/w3images/fjords.jpg" alt="Fjords" style="width:100%">
        <div class="caption">
          <p>Lorem ipsum...</p>
        </div>
      </a>
    </div>
  </div>
</div>

उत्तरदायी एम्बेड

साथ ही किसी भी डिवाइस पर वीडियो या स्लाइडशो को ठीक से स्केल करने दें।

कक्षाएं सीधे <iframe>, <एम्बेड>, <वीडियो> और <ऑब्जेक्ट> तत्वों पर लागू की जा सकती हैं।

The following example creates a responsive video by adding an .embed-responsive-item class to an <iframe> tag (the video will then scale nicely to the parent element). The containing <div> defines the aspect ratio of the video:

Example

<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

What is aspect ratio?

The aspect ratio of an image describes the proportional relationship between its width and its height. Two common video aspect ratios are 4:3 (the universal video format of the 20th century), and 16:9 (universal for HD television and European digital television).

You can choose between two aspect ratio classes:

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

Test Yourself With Exercises

Exercise:

Use a Bootstrap class to shape the image as a circle.

<img src="img_chania.jpg" alt="Chania" class=""> 


Complete Bootstrap Image Reference

For a complete reference of all image classes, go to our complete Bootstrap Image Reference.