How to target a specific screen size using @media media query?

后端 未结 5 852
夕颜
夕颜 2021-02-06 13:54

I am new to responsive design, I am toying with twitter bootstrap responsive.css now. And I am encountering some trouble with my project.

The trouble is, my left column

5条回答
  •  攒了一身酷
    2021-02-06 14:32

    The row-fluid class exapmles in Bootstrap can be found here http://getbootstrap.com/2.3.2/examples/fluid.html

    If you want Visual Studio to help with CSS then get the LESS file from http://bootswatch.com, and get the Twitter.Bootstrap.Less nuget package. Then add the following to the bootswatch.less file

    @import url("bootstrap/bootstrap.less");
    

    There is alternative to Boostrap row-fluid, called 'Foundation' http://foundation.zurb.com/develop/download.html#customizeFoundation

    It has definitions for 'small' and 'large' media and lots more:

    
    
    

提交回复
热议问题