- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 paper-dialog 的响应式设计。通过 min-width: 320px 我能够使用以下样式使其全屏显示:
paper-dialog {
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 0;
margin: 0;
}
它会相应地滚动。但是当屏幕变大时,我想将它设置为默认样式。我试过这种风格:
paper-dialog {
position: fixed;
top: 5%;
left: 5%;
bottom: 5%;
right: 5%;
padding-bottom: 10%;
margin: 0;
height: 100%;
}
对话框在底部被裁剪。我只想将其恢复为默认样式。抱歉,我不太擅长 CSS。感谢任何可以提供帮助的人:)
最佳答案
关于css - 将纸张对话框设置为适合窗口后将其大小调整为默认值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39283874/
我正在尝试在我的 1.0 polymer 元素之一中实现纸张 slider ... 我得到的错误是: Uncaught TypeError: this.has
我还是 Vaadin 的新手,我正在尝试使用 Vaadin 14 实现 @polymenr/paper-slider 组件。 我已经下载了项目https://github.com/berndhopp/
我还是 Vaadin 的新手,我正在尝试使用 Vaadin 14 实现 @polymenr/paper-slider 组件。 我已经下载了项目https://github.com/berndhopp/
我正在尝试像这样实现页面 curl : 我遵循了这个例子:http://codepen.io/anon/pen/fpjoa 如果我创建新的 PHP 和 CSS 文件并从上面的链接复制粘贴代码,结果是正
我是一名优秀的程序员,十分优秀!