Reputation: 3
Hi I need CSS code like on the below picture :
, for bootstrap 3.
This colums will be inside col-md-9
. I did it myself, but when screen size changes it doesn't look good. I am not a professional, please help.
Upvotes: 0
Views: 86
Reputation: 2783
You have classes for different screen-sizes which work using media-queries.
You can simply use them in any element by defining all classes that you want to apply to the element!
For example to define a container to deal with different sizes, just do it like that:
This example will display the div with width about 9, 6 or 3 cols, depending on screen size: (Using size classes md, sm, and xs)
<div class="col-md-9 col-sm-6 col-xs-3">
My content
</div>
Upvotes: 1