zurb foundation is it possible to have full row width

后端 未结 15 2235
栀梦
栀梦 2021-01-30 03:06

I\'m using foundation 3 to build a responsive website but I want to have the Footer and Navigation background width to occupy the entire width? I have named my rows as

15条回答
  •  感情败类
    2021-01-30 03:50

    If you're using sass, this is a better way:

     
    .row{ &.full-width{ width: 100%; max-width: 100%!important; //might be needded depending on your settings &>.column:first-child, &>.columns:first-child{ padding-left: 0; } &>.column:last-child, &>.columns:last-child{ padding-right: 0; } } }

提交回复
热议问题