gpt4 book ai didi

移动 View 的语义ui隐藏元素

转载 作者:行者123 更新时间:2023-12-04 21:34:40 27 4
gpt4 key购买 nike

我正在寻找语义 ui 正确的类来隐藏例如移动 View 中的 DIV。在 Bootstrap 中,我们有“visible-xs”和“hidden-xs”。

但是在语义ui上我只找到了“仅移动网格”

最佳答案

请访问这里只需添加到您的覆盖 css 文件

/* Mobile */

@media only screen and (max-width: 767px) {
[class*="mobile hidden"],
[class*="tablet only"]:not(.mobile),
[class*="computer only"]:not(.mobile),
[class*="large monitor only"]:not(.mobile),
[class*="widescreen monitor only"]:not(.mobile),
[class*="or lower hidden"] {
display: none !important;
}
}
etc...

https://jsfiddle.net/8LkLoxcx/

关于移动 View 的语义ui隐藏元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41683267/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com