I want to use Bootstrap 3 to make a web site with responsive graphics, how I have to set the grid sistem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to use Bootstrap 3 to make a web site with responsive graphics, how I have to set the grid sistem?

I want to make my site avaible from both pc and smartphones, but when I set the grid sistem whit col-xs-*(number from 1 to 12) it doesn't change anything in the mobile version, but only in the desktop, and it is orribile to see. Help me pleese🙏

7th Aug 2018, 12:17 AM
Serafino Pirronitto
Serafino Pirronitto - avatar
2 Answers
0
The col-xs class will remain horizontal no matter the screen size. Meaning, the columns will line up side-by-side on a phone just as they will on a computer screen. The col-xs class tells the browser never to stack the columns. Try using col-sm, col-md, or col-lg depending on the breakpoints you want. https://getbootstrap.com/docs/4.0/layout/grid/
7th Aug 2018, 1:35 AM
Beeman
Beeman - avatar
0
You should use different sizes at the same time
7th Aug 2018, 1:32 AM
Mohammed Hany
Mohammed Hany - avatar