我有两个视频标签,我想要在屏幕的底角对齐。另外,内部视频标签应重叠外视频标签,就像下面给出这一形象:html5视频标签的Css对齐和定位
CSS
.widget_contaner {
right: 0px;
position: fixed;
bottom: 30px;
z-index: 99999999999999;
}
.widget_header {
background-color: #3fa757;
width: 240px;
text-align: center;
text-transform: uppercase;
font-weight: bold;
border: 1px solid #ccc;
font-size: 12px;
height: 25px;
line-height: 25px;
font-family:'Open Sans', sans-serif;
border-radius: 5px;
}
.widget_body {
width: 240px;
height: 150px;
}
.large_video {
height: 100%;
width: 100%;
}
.mini_video {
position: absolute;
height: 30%;
width: 30%;
bottom: 32px;
right: 4px;
opacity: 0.75;
}
所以我想知道如何才能让这些视频标签像图片中给出的那样相对定位?
的jsfiddle:click here
+0
我想你包括JS提琴的错误链接 - 以及在帖子的底部反正... –
+0
我的不好。链接固定 –