semantic ui grid - display full width of column, after “computer only” columns is hidden

妖精的绣舞 提交于 2019-12-11 04:25:01

问题


For computer sized screen I have an additional column on the left to display some optional content. When the screen size goes under the breaking point of 991px, that column hides using semantic-ui's native css classes. In this case the column with the main content should display in full width. I was wondering if there is a "native" semantic-ui way of achieving this?

<div class="ui grid container">
    <div class="four wide computer only column">
        (Optional content only for computers sized screen)
    </div>
    <div class="twelve wide column">
        (Main Content)
    </div>
</div>

回答1:


You would need to do something like:

<div class="sixteen wide tablet column twelve wide computer column">
    (Main Content)
</div>


来源:https://stackoverflow.com/questions/40823381/semantic-ui-grid-display-full-width-of-column-after-computer-only-columns-i

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!