Y
Y
Yuri Lobanov2014-02-04 19:20:09
css
Yuri Lobanov, 2014-02-04 19:20:09

Twitter Bootstrap 2 and fixed width block (Twitter widget)?

As you know, bootstrap has 12 columns. Imagine that the page is divided into two parts, 9 and 3 columns.
Place the twitter widget on the right. The problem is that span3 has a width of 166px when the screen is small. The minimum widget width is 220px.
Of course, it can be divided into 8 and 4 columns, then the widget fits without problems (span4 min has 228px). However, on a wide screen, 4 columns for the widget is redundant, it does not look good.
What do you advise? I don’t attach the code on purpose, since I need advice, I’ll write everything myself. How kosher is it to switch js classes from span9 to span8 and span3 to span4?

Naturally, I ask you to keep the reasoning that it was not necessary to use tb.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
personaljs, 2014-02-04
@iiil

Widget can't make min-width equal to span3 width?

P
Petrusha Ukropov, 2014-02-04
@artishok

And create 2 own classes with the desired width?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question