我在移动设备上显示属性有问题。显示:none根本不起作用。我正在使用SASS。这是我的代码:
main {
display: none;
}
@media(min-width: $mobile-breakpoint) {
main {
height: 800px;
display: flex;
background-color: inherit;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
background-image: url("./images/main.jpg");
}
}
答案 0 :(得分:0)
在移动断点中使用import-csv "c:\temp\vminfo.csv" | %{
$current=$_
$_.Datadisk.Split('**') | where {$_ -ne ''} | %{[pscustomobject]@{Name=$current.Name;Disk=$_.trim()}}
}
。
例如:
display: none