в примерах на оффсайте есть такая верстка радиокнопок:
<div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> Option two can be something else and selecting it will deselect option one </label></div><div class="radio disabled"> <label> <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled> Option three is disabled </label></div>
почему обе кнопки в отдельных div, а не в одном:
<div class="radio"> <label> <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> Option two can be something else and selecting it will deselect option one </label> <label class="disabled"> <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled> Option three is disabled </label> </div>
это принципиально? как то связано с семантикой? потому что class="disabled" дает одинаковый результат при использовании его в input и label
второй вопрос:
мне показалось, что в бутстрапе нет точных инструментов для формирования сетки. получается этот фреймворк не годится для пиксель перфект? или я что то пропустил?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
quoter
первый вопрос:
в примерах на оффсайте есть такая верстка радиокнопок:
почему обе кнопки в отдельных div, а не в одном:
это принципиально? как то связано с семантикой? потому что class="disabled" дает одинаковый результат при использовании его в input и label
второй вопрос:
мне показалось, что в бутстрапе нет точных инструментов для формирования сетки. получается этот фреймворк не годится для пиксель перфект? или я что то пропустил?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.