css - SCSS : How to place an On-Screen-Keyboard on bottom of screen?

标签 css sass on-screen-keyboard

我有一个屏幕键盘。我想把它放在屏幕底部这样 当我们点击一​​个文本编辑器时,键盘出现在屏幕的按钮中。 当前帧的按钮是我的目的。 我有以下代码,但它不起作用。

.ui-keyboard {
    border-radius: 0;
    left: 0;
    position: absolute;
    bottom: 5%;
    width: 80%;
 }

enter image description here

最佳答案

我解决了:

top: auto;
bottom: 16rem;
position: fixed;

关于css - SCSS : How to place an On-Screen-Keyboard on bottom of screen?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46090631/

相关文章:

html - 任意子字符串属性值选择器在 IE7 中不起作用

css - 创建 SCSS 主题错误

带 SASS 离线的 Angular-CLI

c# - 无法从 Win7 x64 上的 32 位进程启动屏幕键盘 (osk.exe)

windows-phone-7 - 当屏幕键盘处于事件状态时,为什么我不能一直滚动到底部

html - 使照片覆盖六边形的整个区域

html - 将登录页面创建为弹出窗口,使页面变得模糊

javascript - 鼠标悬停/单击时弹出 Div anchor

css - (sass) :26096 How to fix 'Sass::SyntaxError: Invalid CSS after' error in Rails

javascript - 如何通过单击文本输入来显示 Windows 7/8 中的屏幕键盘?