仿制 http://schillmania.com/projects/soundmanager2/#volume 右上角面板
<style type="text/css"> body{background:#999;} .board-container{position:relative;width:240px;height:500px;font-family:"微软雅黑";}/*总容器*/ .board-bg{position:absolute;width:100%;height:26px;background:#333333;z-index:1;}/*背景*/ .triangle{position:absolute;width:0;height:0;border:8px solid #111;}/*三角*/ .triangle-left{top:26px;left:0;border-left-color:rgba(0,0,0,0);border-bottom-color:rgba(0,0,0,0);}/*左三角*/ .triangle-right{top:26px;right:0;border-right-color:rgba(0,0,0,0);border-bottom-color:rgba(0,0,0,0);}/*右三角*/ .board-title{position:relative;color:#fff;height:26px;line-height:26px;text-align:center;overflow:hidden;z-index:2;}/*标题文字*/ .board-body1{margin:0 16px;padding:6px;background:#fff;z-index:2;}/*内容文字*/ .board-body2{margin:0 16px;padding:6px;background:#fff;border-top:1px dotted #ddd;color:#999;z-index:2;}/*灰色内容文字*/ </style> </head> <body> <div class="board-container"> <div class="board-bg"></div> <div class="triangle triangle-left"></div> <div class="triangle triangle-right"></div> <div class="board-title">啊啊啊啊啊啊啊啊啊啊 </div> <div class="board-body1">啊啊啊啊啊啊啊啊啊啊啊啊啊 </div> <div class="board-body2">啊啊啊啊啊啊啊啊啊啊啊啊啊 </div> </div>