简体   繁体   中英

What to use instead of .container in Gumby2

In Gumby2 , the container class is commented with the following comment:

// We're removing the container class in favor
// of adding padding to rows at the $device-width
// breakpoint.

/*.container {
    padding: 0 $gutter-in-px;
}*/

All I want is to have a central container class that will be in the middle of the screen. I must say I do not understand exactly how to follow this comment. So what is the proposed way for centering such container class in Gumby 2.6?

只需在容器div上使用centered类(也就是row )。

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