简体   繁体   中英

Foundation 4 Top-bar's toogle-topbar for medium up

Foundation 4顶部栏的切换将针对中等屏幕尺寸而激活,我如何将切换更改为针对较小屏幕而激活?

Found this from Foundation docs:

$topbar-breakpoint: emCalc(940); /* Change to 9999px for always mobile layout */
$topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";

You need to change emCalc value.

Note that emCalc is SASS function that turns em's automatically into pixels. So by default its set to break at 940px.

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