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

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

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

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

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

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

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

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

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

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

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

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


बूटस्ट्रैप टेक्स्ट/टाइपोग्राफी


बूटस्ट्रैप की डिफ़ॉल्ट सेटिंग्स

बूटस्ट्रैप का वैश्विक डिफ़ॉल्ट फ़ॉन्ट-आकार 14px है, जिसकी रेखा-ऊंचाई 1.428 है।

यह <body>तत्व और सभी अनुच्छेदों ( <p>) पर लागू होता है।

इसके अलावा, सभी <p>तत्वों का निचला मार्जिन होता है जो उनकी गणना की गई रेखा-ऊंचाई (डिफ़ॉल्ट रूप से 10px) के आधे के बराबर होता है।


बूटस्ट्रैप बनाम ब्राउज़र डिफ़ॉल्ट

इस अध्याय में, हम कुछ HTML तत्वों को देखेंगे जिन्हें बूटस्ट्रैप द्वारा ब्राउज़र डिफ़ॉल्ट की तुलना में थोड़ा अलग तरीके से स्टाइल किया जाएगा।


<h1> - <h6>

डिफ़ॉल्ट रूप से, बूटस्ट्रैप HTML शीर्षकों ( <h1>से <h6>) को निम्न तरीके से स्टाइल करेगा:

उदाहरण

h1 Bootstrap heading (36px)

h2 Bootstrap heading (30px)

h3 Bootstrap heading (24px)

h4 Bootstrap heading (18px)

h5 Bootstrap heading (14px)
h6 Bootstrap heading (12px)

<छोटा>

बूटस्ट्रैप में HTML <small>तत्व का उपयोग किसी भी शीर्षक में हल्का, द्वितीयक पाठ बनाने के लिए किया जाता है:

उदाहरण

h1 heading secondary text

h2 heading secondary text

h3 heading secondary text

h4 heading secondary text

h5 heading secondary text
h6 heading secondary text


<चिह्न>

बूटस्ट्रैप HTML <mark>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

Use the mark element to highlight text.


<abbr>

बूटस्ट्रैप HTML <abbr>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

The WHO was founded in 1948.


<ब्लॉककोट>

बूटस्ट्रैप HTML <blockquote>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.

From WWF's website

उद्धरण को दाईं ओर दिखाने के लिए, .blockquote-reverseकक्षा का उपयोग करें:

उदाहरण

For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.

From WWF's website

<डीएल>

बूटस्ट्रैप HTML <dl>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

Coffee
- black hot drink
Milk
- white cold drink

<कोड>

बूटस्ट्रैप HTML <code>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

The following HTML elements: span, section, and div defines a section in a document.


<केबीडी>

बूटस्ट्रैप HTML <kbd>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

Use ctrl + p to open the Print dialog box.


<पूर्व>

बूटस्ट्रैप HTML <pre>तत्व को निम्न प्रकार से स्टाइल करेगा:

उदाहरण

Text in a pre element
is displayed in a fixed-width
font, and it preserves
both      spaces and
line breaks.

प्रासंगिक रंग और पृष्ठभूमि

बूटस्ट्रैप में कुछ प्रासंगिक वर्ग भी होते हैं जिनका उपयोग "रंगों के माध्यम से अर्थ" प्रदान करने के लिए किया जा सकता है।

पाठ रंगों के लिए वर्ग हैं: .text-muted, .text-primary, .text-success, .text-info, .text-warning, और .text-danger:

उदाहरण

This text is muted.

This text is important.

This text indicates success.

This text represents some information.

This text represents a warning.

This text represents danger.

पृष्ठभूमि रंगों के लिए कक्षाएं हैं: .bg-primary, .bg-success, .bg-info, .bg-warning, और .bg-danger:

उदाहरण

This text is important.

This text indicates success.

This text represents some information.

This text represents a warning.

This text represents danger.


अधिक टाइपोग्राफी कक्षाएं

नीचे दिए गए बूटस्ट्रैप वर्गों को HTML तत्वों की शैली में आगे जोड़ा जा सकता है:

Class Description Example
.lead Makes a paragraph stand out
.small Indicates smaller text (set to 85% of the size of the parent)
.text-left Indicates left-aligned text
.text-center Indicates center-aligned text
.text-right Indicates right-aligned text
.text-justify Indicates justified text
.text-nowrap Indicates no wrap text
.text-lowercase Indicates lowercased text
.text-uppercase Indicates uppercased text
.text-capitalize Indicates capitalized text
.initialism Displays the text inside an <abbr> element in a slightly smaller font size
.list-unstyled Removes the default list-style and left margin on list items (works on both <ul> and <ol>). This class only applies to immediate children list items (to remove the default list-style from any nested lists, apply this class to any nested lists as well)
.list-inline Places all list items on a single line
.dl-horizontal Lines up the terms (<dt>) and descriptions (<dd>) in <dl> elements side-by-side. Starts off like default <dl>s, but when the browser window expands, it will line up side-by-side
.pre-scrollable Makes a <pre> element scrollable

पूर्ण बूटस्ट्रैप टाइपोग्राफी संदर्भ

सभी टाइपोग्राफी तत्वों/वर्गों के संपूर्ण संदर्भ के लिए, हमारे संपूर्ण बूटस्ट्रैप टाइपोग्राफी संदर्भ पर जाएं ।

प्रासंगिक कक्षाओं के बारे में अधिक जानकारी के लिए हमारे बूटस्ट्रैप हेल्पर क्लासेस संदर्भ को भी देखें।