البرنامج التعليمي Bootstrap 3

BS HOME ابدأ BS BS Grid Basic بكالوريوس الطباعة جداول BS صور بكالوريوس BS Jumbotron بي إس ويلز تنبيهات BS أزرار BS مجموعات زر BS BS Glyphicons شارات / ملصقات BS أشرطة التقدم BS ترقيم الصفحات BS بكالوريوس بيجر مجموعات قائمة BS لوحات BS القوائم المنسدلة BS انهيار BS علامات التبويب / حبوب BS Navbar نماذج بكالوريوس مدخلات BS مدخلات BS 2 تحجيم المدخلات BS كائنات BS Media BS كاروسيل مشروط BS تلميح BS Tooltip BS Popover BS Scrollspy BS اللصقة مرشحات BS

شبكات التمهيد

نظام BS Grid BS مكدس / أفقي BS Grid Small BS شبكة متوسطة BS شبكة كبيرة أمثلة على شبكة BS

ثيمات Bootstrap

قوالب بكالوريوس موضوع BS "ببساطة أنا" موضوع BS "شركة" موضوع BS "الفرقة"

أمثلة التمهيد

أمثلة بكالوريوس اختبار BS تمارين البكالوريوس شهادة بكالوريوس

Bootstrap CSS المرجع

CSS جميع الفئات طباعة CSS أزرار CSS نماذج CSS مساعدي CSS صور CSS جداول CSS القوائم المنسدلة CSS ملاحق CSS الحروف الرسومية

Bootstrap JS المرجع

شبيبة الملحقة تنبيه JS زر JS JS Carousel طي JS JS المنسدلة شبيبة مشروط شبيبة بوبوفر شبيبة Scrollspy علامة التبويب JS JS Tooltip


مرجع فئات مساعد Bootstrap CSS


نص

أضف المعنى من خلال ألوان النص مع الفئات أدناه. ستصبح الروابط داكنة عند المرور فوقها:

Class Description Example
.text-muted Text styled with class "text-muted"
.text-primary Text styled with class "text-primary"
.text-success Text styled with class "text-success"
.text-info Text styled with class "text-info"
.text-warning Text styled with class "text-warning"
.text-danger Text styled with class "text-danger"

خلفية

أضف المعنى من خلال ألوان الخلفية مع الفصول أدناه. ستصبح الروابط داكنة عند المرور فوقها تمامًا مثل فئات النص:

Class Description Example
.bg-primary Table cell is styled with class "bg-primary"
.bg-success Table cell is styled with class "bg-success"
.bg-info Table cell is styled with class "bg-info"
.bg-warning Table cell is styled with class "bg-warning"
.bg-danger Table cell is styled with class "bg-danger"

آخر

Class Description Example
.pull-left Floats an element to the left
.pull-right Floats an element to the right
.center-block Sets an element to display:block with margin-right:auto and margin-left:auto
.clearfix Clears floats
.show Forces an element to be shown (display:block)
.hidden Forces an element to be hidden (display:none)
.invisible Forces an element to be invisible (visibility:hidden). Will take up space on page even though it is invisible
.sr-only Hides an element to all devices except screen readers
.sr-only-focusable Combine with .sr-only to show the element again when it is focused (e.g. by a keyboard-only user)
.text-hide Helps replace an element's text content with a background image
.close Indicates a close icon
.caret Indicates dropdown functionality (will reverse automatically in dropup menus)


المرافق المستجيبة

تُستخدم هذه الفئات لإظهار و / أو إخفاء المحتوى بواسطة الجهاز عبر استعلامات الوسائط.

استخدم فئة واحدة أو مجموعة من الفئات المتاحة لتبديل المحتوى عبر نقاط توقف منفذ العرض:

الطبقات هواتف الأجهزة الصغيرة جدًا (<768 بكسل) الأجهزة اللوحية للأجهزة الصغيرة (768px) أجهزة كمبيوتر سطح المكتب للأجهزة المتوسطة (992 بكسل) أجهزة كمبيوتر سطح المكتب للأجهزة الكبيرة (≥1200 بكسل)
.visible-xs- * مرئي مختفي مختفي مختفي
.visible-sm- * مختفي مرئي مختفي مختفي
.visible-md- * مختفي مختفي مرئي مختفي
.visible-lg- * مختفي مختفي مختفي مرئي
.hidden-xs مختفي مرئي مرئي مرئي
.hidden-sm مرئي مختفي مرئي مرئي
.hidden-md مرئي مرئي مختفي مرئي
.hidden-lg مرئي مرئي مرئي مختفي

مختفي

إخفاء العناصر حسب حجم الشاشة:

مثال

<h2>Example</h2>
<p>Resize this page to see how the text below changes:</p>
<h1 class="hidden-xs bg-danger">This text is hidden on an EXTRA SMALL screen.</h1>
<h1 class="hidden-sm bg-info">This text is hidden on a SMALL screen.</h1>
<h1 class="hidden-md bg-warning">This is text hidden on a MEDIUM screen.</h1>
<h1 class="hidden-lg bg-success">This is text hidden on a LARGE screen.</h1>

نتيجة:

Example

Resize this page to see how the text below changes:

This text is hidden on an EXTRA SMALL screen.

This text is hidden on a SMALL screen.

This is text hidden on a MEDIUM screen.

This is text hidden on a LARGE screen.



اعتبارًا من الإصدار 3.2.0 ، .visible-*-*تأتي الفئات في ثلاثة أشكال ، واحدة لكل display قيمة خاصية CSS:

مجموعة الفصول عرض CSS
مرئي - * - بلوك العرض محجوب؛
.visible - * - مضمنة عرض: مضمنة ؛
.visible - * - inline-block عرض: مضمنة كتلة ؛

smعلى سبيل المثال ، بالنسبة للشاشات الصغيرة ( ) ، فإن .visible-*-*الفئات المتاحة هي: .visible-sm-blockو .visible-sm-inlineو و .visible-sm-inline-block.

يتم إهمال الفئات .visible-xsو .visible-smو .visible-mdو اعتبارًا من الإصدار 3.2.0 ..visible-lg

مثال

<h2>Example</h2>
<p>Resize this page to see how the text below changes:</p>
<h1 class="visible-xs">This text is shown only on an EXTRA SMALL screen.</h1>
<h1 class="visible-sm">This text is shown only on a SMALL screen.</h1>
<h1 class="visible-md">This text is shown only on a MEDIUM screen.</h1>
<h1 class="visible-lg">This text is shown only on a LARGE screen.</h1>

نتيجة:

Example

Resize this page to see how the text below changes:

This text is shown only on an EXTRA SMALL screen.

This text is shown only on a SMALL screen.

This text is shown only on a MEDIUM screen.

This text is shown only on a LARGE screen.