gpt4 book ai didi

java - GWT 中条件属性的 GSS CSS 表达式?

转载 作者:太空宇宙 更新时间:2023-11-04 03:18:55 26 4
gpt4 key购买 nike

如何将以下 GWT CSS 部分转换为 GWT GSS?

@if (test.mobile.client.Parameter.getWindowWidth() >= 414) {
.previewBox {
width: 33.333333%;
}
}

最佳答案

@if (eval("test.mobile.client.Parameter.getWindowWidth() >= 414")) {
.previewBox {
width: 33.333333%;
}
}

关于java - GWT 中条件属性的 GSS CSS 表达式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28242173/

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