📜  为滑块添加标题 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:41.957000             🧑  作者: Mango

代码示例1
.carousel-caption {
    position: absolute;
     right: 0%; 
    bottom: 20px;
    left: 0%; 
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: left; 
}