col-xs-*
في Bootstrap على عناصر form
أيضًا! بهذه الطريقة ، سيتم توزيع أزرار الراديو الخاصة بنا بشكل متساوٍ عبر الصفحة ، بغض النظر عن مدى اتساع دقة الشاشة. ضع كلا من أزرار الراديو داخل عنصر <div class="row">
. ثم تداخل كل منها داخل عنصر <div class="col-xs-6">
. ملاحظة: كتذكير ، تعد أزرار الاختيار عناصر input
من نوع radio
. div
with the class row
.");'
- text: ''
testString: 'assert($("div.col-xs-6:has(input[type=\"radio\"])").length > 1, "Nest each of your radio buttons inside its own div
with the class col-xs-6
.");'
- text: تأكد من أن كل عنصر من عناصر div
لديه علامة إغلاق.
testString: 'assert(code.match(/<\/div>/g) && code.match(/