.barrage { position: absolute; bottom: 0px; right: -100%; display: inline-block; height: 48px; z-index: 99999; width: 100%; } /* 测试是否一致 sdjak */ /* body{opacity: 0.6;} ::-webkit-scrollbar{width: 0;}html{width: 1920px;background: top left no-repeat url(../images/0.jpg) !important;} */ .barrage_box { border: 1px solid rgba(255, 255, 255, .2); border-bottom: none; height: 40px; display: inline-block; transition: all .3s; position: relative; } .barrage_box::before { content: ''; display: block; width: 8px; height: 9px; position: absolute; left: -1px; bottom: -9px; background: url(../images/sj.png) no-repeat; } .barrage_box::after { content: ''; display: block; width: calc(100% - 7px); height: 1px; position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, .2) } .barrage_box .portrait { display: inline-block; margin-top: 4px; margin-left: 4px; width: 32px; height: 40px; border-radius: 50%; overflow: hidden; } .barrage_box .portrait img { width: 100%; height: 100%; } .barrage_box div.p a { margin-right: 18px; font-size: 14px; color: #fff; line-height: 40px; margin-left: 18px; } .barrage_box div.p a:hover { text-decoration: underline; } .barrage_box .close { visibility: hidden; opacity: 0; text-align: center; width: 25px; height: 25px; margin-left: 20px; border-radius: 50%; background: rgba(255, 255, 255, .1); margin-top: 8px; background-image: url(../images/close.png); } .barrage_box:hover .close { visibility: visible; opacity: 1; } .barrage_box .close a { display: block; } .barrage_box .close .icon-close { font-size: 14px; color: rgba(255, 255, 255, .5); display: inline-block; margin-top: 5px; } .barrage .z { float: left !important; } .barrage a { text-decoration: none; }