简体   繁体   中英

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

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>

You would need to do something like:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM