[英]put radio button for fingerprint in bootstrap
Is it possible to integrate radio buttons with a hand image for fingerprinting in Bootstrap
? 是否可以将单选按钮与手形图像集成在Bootstrap
进行指纹识别? Is it possible to have an exact positioning for radio buttons to put just upper each finger and it stay unchanged for popular browsers ( IE, Firefox and Chrome
)? 对于流行的浏览器( IE, Firefox and Chrome
) IE, Firefox and Chrome
是否可以将单选按钮的精确定位放在每个手指的上方并保持不变? Indeed, I want something like this: 的确,我想要这样的东西:
To get this done you can use technique of element absolute positioning (radio-button) within parent element (image container). 要完成此操作,您可以在父元素(图像容器)中使用元素绝对定位(单选按钮)的技术。
/*
Set container position to relative
Note: This will not affect parent's current position
*/
.image-container {
position: relative;
}
/*
Now all children with position: absolute
would be position within their parent
*/
input[type="radio"] {
position: absolute;
top: 50%;
left: 40%;
}
For more details please take a look at the DEMO I have created. 有关详细信息,请查看我创建的DEMO 。 It also includes transparent labels so clicking on the finger will actually select a radio button. 它还包括透明标签,因此点击手指实际上会选择一个单选按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.