squ*_*pat 5 semantic-ui responsive
我正在寻找semantic-ui正确的类来隐藏例如移动视图中的DIV.在Bootstrap中它很简单,我们有"visible-xs"和"hidden-xs".
但是在语义上我只发现了"仅移动网格"
小智 3
请访问这里,只需添加到您的覆盖 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...
Run Code Online (Sandbox Code Playgroud)
https://jsfiddle.net/8LkLoxcx/
| 归档时间: |
|
| 查看次数: |
1344 次 |
| 最近记录: |